3 ms·
Years ago I saw a essay where someone took some Java code, translated to C#. Then performed a bunch of optimizations using value types and stack based structs.
by Gibbon1 7y ago
Years ago I saw a essay where someone took some Java code, translated to C#. Then performed a bunch of optimizations using value types and stack based structs. And it was about 10 times faster than the Java version. Because it wasn't hitting the heap anymore.