Skip to content

Add replacement for List.singleton#110

Open
jfmengels wants to merge 1 commit into
mdgriffith:masterfrom
jfmengels:list-singleton
Open

Add replacement for List.singleton#110
jfmengels wants to merge 1 commit into
mdgriffith:masterfrom
jfmengels:list-singleton

Conversation

@jfmengels

Copy link
Copy Markdown
Contributor

Replaces List.singleton by a function that doesn't call _List_fromArray.

According to this benchmark, it speeds up the function by 4.5 times.

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.

1 participant