💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱 to C [email protected]English • 6 months agoC# Array and List Fastest Loop in 2024 - NDepend Blogblog.ndepend.comexternal-linkmessage-square2fedilinkarrow-up121arrow-down11starcopymore-verticalflagCreate ReportslashBlock usercross-posted to: [email protected]
arrow-up120arrow-down1external-linkC# Array and List Fastest Loop in 2024 - NDepend Blogblog.ndepend.com💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱 to C [email protected]English • 6 months agomessage-square2fedilinkstarcopymore-verticalflagCreate ReportslashBlock usercross-posted to: [email protected]
minus-square@JustAnotherRandolink3•6 months agoInteresting read, thanks for sharing! arrow-up13arrow-down10file-textreply1starmore-verticalmailMessageflagCreate ReportslashBlock user
minus-square@[email protected]linkfedilinkEnglish3•edit-26 months agoI 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. arrow-up13arrow-down10file-textreply1starmore-verticalmailMessageflagCreate ReportslashBlock user
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.