- cross-posted to:
- dotnet@programming.dev
- cross-posted to:
- dotnet@programming.dev
You must log in or # to comment.
Interesting read, thanks for sharing!
I actually benchmarked almost exactly these same things, a few months ago, and that lines up with the results I got.
foreach
in particular is HEAVILY optimized forArray<T>
at the bytecode level, I was quite impressed.