Closed ghost closed 6 years ago
I would like to see concrete examples demonstrating the cost in using generics versus simply going with the current approaches available in Go (code generation, etc.)
@rbastic it's doing code generation. So it's equivalent to writing specialised versions for each type.
Ah, I see. Thanks for clearing that up :) I should've just dove into the implementation but I was being lazy.
I would like to see concrete examples demonstrating the cost in using generics versus simply going with the current approaches available in Go (code generation, etc.)