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

C Sharp

1526 readers
31 users here now

A community about the C# programming language

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

founded 1 year ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[โ€“] JustAnotherRando@lemmy.world 3 points 5 months ago

Interesting read, thanks for sharing!

[โ€“] JakenVeina@lemm.ee 3 points 5 months ago* (last edited 5 months 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.