3 ms·
I was expecting maybe 10% improvements, but many of these are 30x perf improvements on common collection operations
by yodon 9y ago
I was expecting maybe 10% improvements, but many of these are 30x perf improvements on common collection operations
- yread 9y agoThe List. Add change is small but its hand optimized assembly, quite impressive.
- hacker_9 9y agoWorth noting it's not hand written assembly, but instead writing C# code in a very specific way in order to encourage the compiler to implement more aggressive optimizations (inlining, bounds check removals, etc).