4 ms·
Using generics in this way in C# is asking for a headache. And C# being JIT compiled, the compiler can, theoretically, optimize by inlining. I do not know if it
by hvidgaard 6y ago
Using generics in this way in C# is asking for a headache. And C# being JIT compiled, the compiler can, theoretically, optimize by inlining. I do not know if it does.
In any case, for the vast majority if code bases, maintainability is more important than 10% better performance.