Why is enumerating over List faster than IList? #138
Replies: 1 comment 1 reply
-
|
At least for arrays this will and is about to change dotnet/runtime#108913 I thought for some cases dynamic pgo can actually devirtualize some collection calls too but I can't find the reference anymore |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why is enumerating over List faster than IList?
If we have a List and an IList, enumerating over the List is faster than enumerating over the IList. Why is that?
https://steven-giesel.com/blogPost/c624c170-c16c-4414-8506-2ae25ba54df7
Beta Was this translation helpful? Give feedback.
All reactions