diff options
| author | Tyge Løvset <[email protected]> | 2023-04-20 21:33:49 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-04-20 21:33:49 +0200 |
| commit | 4375640bdf856866fa2a1e7010103736077b9738 (patch) | |
| tree | e43c7e9c8994f9241060ec222347f9db2d51449c /misc/benchmarks/shootout_hashmaps.cpp | |
| parent | 119de13b8506e5f13d7b4d5ba3edbd394b6f3218 (diff) | |
| download | STC-modified-4375640bdf856866fa2a1e7010103736077b9738.tar.gz STC-modified-4375640bdf856866fa2a1e7010103736077b9738.zip | |
cmap Updates to dev43 standard.
Diffstat (limited to 'misc/benchmarks/shootout_hashmaps.cpp')
| -rw-r--r-- | misc/benchmarks/shootout_hashmaps.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/benchmarks/shootout_hashmaps.cpp b/misc/benchmarks/shootout_hashmaps.cpp index 05ec33e7..886bb345 100644 --- a/misc/benchmarks/shootout_hashmaps.cpp +++ b/misc/benchmarks/shootout_hashmaps.cpp @@ -2,7 +2,7 @@ #include <time.h> #include <stc/crand.h> -#define MAX_LOAD_FACTOR 85 +#define MAX_LOAD_FACTOR 80 #ifdef __cplusplus #include <limits> @@ -335,8 +335,8 @@ int main(int argc, char* argv[]) printf("\nT1: Insert %g mill. random keys range [0, 2^%u): map[rnd] = i;\n", N1/1000000.0, keybits); RUN_TEST(1) - //printf("\nT2: Insert %g mill. SEQUENTIAL keys, erase them in same order:\n", N2/1000000.0); - //RUN_TEST(2) + printf("\nT2: Insert %g mill. SEQUENTIAL keys, erase them in same order:\n", N2/1000000.0); + RUN_TEST(2) printf("\nT3: Erase all elements by lookup (%u mill. random inserts), key range [0, 2^%u)\n", n_mill*2, keybits); RUN_TEST(3) |
