Re:Generics can make your Go code slower
by gmfawcett on Wednesday March 30, 2022 @05:35PM
(#30861080)
That's fair. I guess if you need the functionality in your program, you need the functionality: the codegen approach doesn't matter that much. And like pjmlp said, LTO can make a difference too. Thanks for your thoughts, these kinds of exchanges make me smarter. :)
Inlining happens with or without template classes.