6 ms·
One reason why unordered map is slow is that it has to be a chained hash map due to the spec not allowing iterator invalidation when resizing.
by noctune 7y ago
One reason why unordered map is slow is that it has to be a chained hash map due to the spec not allowing iterator invalidation when resizing.