forked from MassiveAtoms/hashmap-bench
finished all stuff
This commit is contained in:
@@ -82,6 +82,7 @@ vector<int> int_test(T map, int size) {
|
||||
|
||||
|
||||
// insertion test
|
||||
// testmap.rehash(testmap.bucket_count()+1); // force a rehash so insertion test has a smaller chance of rehashing during the test
|
||||
time_point<steady_clock> insert_start = steady_clock::now();
|
||||
for (auto key : insert_keys) {
|
||||
testmap.insert({key, key});
|
||||
|
Reference in New Issue
Block a user