summaryrefslogtreecommitdiff
path: root/src/hash_map.cc
AgeCommit message (Collapse)Author
2024-08-12Move debug utils to debug.hh/debug.ccMaxime Coste
Lots of code includes buffer_utils.hh just for write_to_debug_buffer which pulls many unnecessary dependencies. Reorganise to reduce compile times.
2022-08-28Fix clang warning regarding useless braces when using HashSetJohannes Altmanninger
clang/clangd complain about the new HashSet type: hash_map.cc:98:20: warning: braces around scalar initializer [-Wbraced-scalar-init] set.insert({10}); ^~~~ The argument to HashSet<int>::insert is just an int, so we don't need braces. Only an actual HashMap would need braces to construct a HashItem object.
2022-08-05Add HashSet implemented as HashMap with void value typeMaxime Coste
2022-08-05Change HashMap not to support multiple identical keys by defaultMaxime Coste
We do not seem to have any uses for this remaining, and this is better opt-in with MultiHashMap
2019-01-20Fix use of removed std::random_shuffleMaxime Coste
2018-01-18Use the _str and _sv string literals more oftenMaxime Coste
2017-06-07Use microseconds instead of milliseconds for built-in profilingMaxime Coste
2017-03-07Expand a bit the hash map profiling codeMaxime Coste
2017-03-07Remove temporary stats code from HashMapMaxime Coste
2017-03-07Replace IdMap with HashMapMaxime Coste
2017-03-07Replace uses of UnorderedMap with HashMapMaxime Coste
2017-03-06Introduce a custom HashMap implementation along with a quick benchmarkMaxime Coste