You must log in or register 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.