Skip to content
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

SortedList enumerator has an overhead #1851

Closed
peppy opened this issue Sep 3, 2018 · 1 comment
Closed

SortedList enumerator has an overhead #1851

peppy opened this issue Sep 3, 2018 · 1 comment

Comments

@peppy
Copy link
Sponsor Member

peppy commented Sep 3, 2018

.net does some magic optimisation on List<T> to optimise GetEnumerator. We break this in SortedList and it becomes a hot path.

Needs further investigation.

@smoogipoo
Copy link
Contributor

Resolved via #1877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants