3 ms·
It's why managed languages have such a bad rap: people think that this stuff ceases to matter. I remember the C# DirectX billboard sample, it was something lik
by zamalek 6y ago
It's why managed languages have such a bad rap: people think that this stuff ceases to matter.
I remember the C# DirectX billboard sample, it was something like 10x slower than the same C++ sample in the same version of the SDK. Why? C# didn't have generics yet, and a value type was being stored in a non-generic list. Something like 4MB of memory was being copied around due to boxing and unboxing.
These things always matter.