3 ms·
> Rather than storing data structures directly in the hashmap, I would store them in an array and map the keys to array indexes. Author of the blog post here.
by sigmaml 13y ago
> Rather than storing data structures directly in the hashmap, I would store them in an array and map the keys to array indexes.
Author of the blog post here. That is one of the reasons I shifted to using bit sets: specific element types can be elided.