2 ms·
> (a size that would allow you to iterate their a vector to find what your are looking for before the unordered_map even has its morning coffee) I don't know a
by jcelerier 11mo ago
> (a size that would allow you to iterate their a vector to find what your are looking for before the unordered_map even has its morning coffee)
I don't know about this, whenever I've benchmarked it on my use cases, unordered_map started to become faster than vector at well below 100 elements