AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Performance of Generics
I expected there will be more stamping out of the different versions of the code specialized to each type. And basically, the opposite is true. Unless your type is a built in like an inter or float performance gets a little bit worse when using generics and methods on generics. So I was I was disappointed by that. It's having generics at all is vastly better than where we were before. But there are still these, wow, it's kind of corner cases that I tend to inhabit,. Where are you still reaching for other techniques? Is this like, that's forever because of the design? Or is this sort of like, over time these things will improve under the hood