Skip to content

Try to fix issue with empty list that is a singleton #2004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

jdeniau
Copy link
Member

@jdeniau jdeniau commented Jul 22, 2024

Fixes #2003

The EMPTY_LIST singleton is a really old code. It may have been there to avoid calling "makeList", but I don't think that there is a really huge performance impact.

@jdeniau jdeniau force-pushed the empty-list-and-singleton-immutability branch from 5da6664 to 92f4dbf Compare September 24, 2024 21:46
@jdeniau jdeniau marked this pull request as ready for review September 24, 2024 21:57
@jdeniau
Copy link
Member Author

jdeniau commented Sep 24, 2024

ping @VirtuaBoza can you review this as you did opened the original issue ?

Base automatically changed from 5.x to main October 17, 2024 22:04
An error occurred while trying to automatically change base from 5.x to main October 17, 2024 22:04
@jdeniau jdeniau force-pushed the empty-list-and-singleton-immutability branch from 6d02d59 to 14631a6 Compare October 17, 2024 22:38
@jdeniau jdeniau merged commit c056df9 into main Oct 17, 2024
5 checks passed
@jdeniau jdeniau deleted the empty-list-and-singleton-immutability branch October 17, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Singleton emptyList is problematic
1 participant