3 ms·
> I might have worded it differently, but yeah, of cause generics can make your code slower, what did people expect. ? In most languages, it is compile-time ov
by whimsicalism 5y ago
> I might have worded it differently, but yeah, of cause generics can make your code slower, what did people expect.
? In most languages, it is compile-time overhead, not runtime.
- masklinn 5y agoI wouldn't say "most", it's very variable. Also not unlike Go I think C# uses a hybrid model, where all reference types get the same instances of the generic function.