▲ | Epa095 3 days ago | |||||||
Double jaw-drop. First when the (dynamic) match was slower than the hash map, second when sort_unstable was faster than the hash map! Cool article. It's clear that all my theoretical algorithm-knowledge comes short when faced with real CPUs. | ||||||||
▲ | fpoling 3 days ago | parent | next [-] | |||||||
Chromium recommends to use flat_map, a map-like interface based on a sorted array, for data structures facing GUI or similar when the number of items in the map is naturally bounded. It is faster and more compact compared with hash maps. | ||||||||
| ||||||||
▲ | Voultapher a day ago | parent | prev [-] | |||||||
Your comment made my day, thank you. |