HashMap is a single-threaded, dynamically-resized hashmap
with open addressing and linear probing.
Will be used in subsequent commits.
Depends on D113922.
Differential D113996
sanitizer_common: add HashMap class dvyukov on Nov 16 2021, 6:56 AM. Authored by
Details
HashMap is a single-threaded, dynamically-resized hashmap Depends on D113922.
Diff Detail
Event Timeline
Comment Actions How about I upload patch with DenseMap forked from LLVM? it needs just a few changes for compiler-rt? Comment Actions Hard to say, DenseMap*.h is 1000+ LOC... what runtime difference does it make? Comment Actions few changes (without counting trowing away most of the stuff, like iterators and small set)
Yes. That's how I use it.
The same for me. I guess I can prefectly use HashMap as well. Quadratic probing is nice but is not requirement for me.
|
constexpr constructor would be nice, but I can fix it later for my needs.