mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
Document dump/load feature
This commit is contained in:
@@ -21,6 +21,8 @@ This repository aims to provide an set of excellent hash map implementations, wi
|
||||
|
||||
- Easy to **forward declare**: just include `phmap_fwd_decl.h` in your header files to forward declare Parallel Hashmap containers.
|
||||
|
||||
- dump/load feature: when a hash table stores data that is `std::trivially_copyable`, the table can be dumped to disk and restored as a single array, very efficiently, and without requiring any hash computation. This is typically about 10 times faster than doing element-wise serialization to disk, but it will use between 10% and 60% more disk space. See `examples/serialize.cc`.
|
||||
|
||||
- **Tested** on Windows (vs2015 & vs2017, vs2019, Intel compiler 18 and 19), linux (g++ 4.8.4, 5, 6, 7, 8, clang++ 3.9, 4.0, 5.0) and MacOS (g++ and clang++) - click on travis and appveyor icons above for detailed test status.
|
||||
|
||||
- Automatic support for **boost's hash_value()** method for providing the hash function (see `examples/hash_value.h`).
|
||||
|
||||
Reference in New Issue
Block a user