Hacker News new | ask | show | jobs
by throwaway894345 836 days ago
The performance overhead is when you're calling a method on the generic type--Go has to lookup the specific implementation in a dictionary. Pretty sure that doesn't apply for straight-up container use cases like this one.