3 ms·
> If that is required there are other data structures to pick from. Not really since it’s Go (“lol no generics”): there’s no easy way to swap the builtin hashm
by masklinn 5y ago
> If that is required there are other data structures to pick from.
Not really since it’s Go (“lol no generics”): there’s no easy way to swap the builtin hashmap for an other associative array with deterministic behaviour and you will lose something (definitely performances, likely either convenience or type-safety, possibly both).
- pjmlp 5y agoNo different than using C, pre-C++98, Pascal, BASIC, Java pre-1.5. Yes it sucks not having generics, why should the built-in contribute to bad practices of relying into interaction behaviors, thus cripling any performance improvements to the data structure?