Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
whimsicalism
4y ago
0 comments
Save
Share
> 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.
0 comments
1 comments · 1 top-level
top
newest
oldest
masklinn
4y ago
I 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.
j
/
k
navigate · click thread line to collapse