|
|
|
|
|
by Const-me
958 days ago
|
|
Interesting, I never heard about that. Was merged to master in February 2022, I wonder which release version includes the changes? Still, the support seems very limited. They simply probe argument type for arrays and lists. Any other IEnumerable gonna return false from TryGetSpan, which reverts to the legacy scalar implementation. |
|
it's faster in bigger arrays/lists but smaller ones barely make a difference, even the linq vs non-linq make basically only noise difference as far as I remember.