this post was submitted on 13 Jun 2024
20 points (95.5% liked)

C Sharp

1702 readers
6 users here now

A community about the C# programming language

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

founded 2 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old

Interesting read, thanks for sharing!

[โ€“] JakenVeina@lemm.ee 3 points 1 year ago* (last edited 1 year ago)

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 for Array<T> at the bytecode level, I was quite impressed.