mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 08:34:39 +08:00
simplify load/dump code. Also don't close the archibe after dump/load, we may need to save multiple hash maps in one archive.
This commit is contained in:
@@ -40,7 +40,7 @@ void dump_load_parallel_flat_hash_map() {
|
||||
mp2.load(ar_in);
|
||||
}
|
||||
|
||||
for (const auto& n : mp2)
|
||||
for (const auto& n : mp2)
|
||||
std::cout << "key: " << n.first << ", value: " << n.second << "\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user