Hacker News new | ask | show | jobs
by xyst 1652 days ago
person deleted 95% of code, but what about performance? is it more or less the same as the non-generic implementation?
1 comments

In theory yes, because generic types are monomorphised, so I would expect performance to be no less bad than implementing each individually.