summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/shootout_hashmaps.cpp
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-11-08 18:18:42 +0100
committerTyge Løvset <[email protected]>2021-11-08 18:18:42 +0100
commit02dfa9735234fd2676ce260e0ba4bc26e3e8b12f (patch)
treef27764119b88eed1cd90a418d5cd9b83be4e5af9 /benchmarks/shootout_hashmaps.cpp
parentc8278d5437ac51ce1d63327fee6296035d80fe20 (diff)
downloadSTC-modified-02dfa9735234fd2676ce260e0ba4bc26e3e8b12f.tar.gz
STC-modified-02dfa9735234fd2676ce260e0ba4bc26e3e8b12f.zip
Changed default_hash() and c_strhash()
Diffstat (limited to 'benchmarks/shootout_hashmaps.cpp')
-rw-r--r--benchmarks/shootout_hashmaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/shootout_hashmaps.cpp b/benchmarks/shootout_hashmaps.cpp
index f8ae7efb..61a86832 100644
--- a/benchmarks/shootout_hashmaps.cpp
+++ b/benchmarks/shootout_hashmaps.cpp
@@ -259,7 +259,7 @@ int main(int argc, char* argv[])
int n_mill = argc >= 2 ? atoi(argv[1]) : DEFAULT_N_MILL;
int keybits = argc >= 3 ? atoi(argv[2]) : DEFAULT_KEYBITS;
int n = n_mill * 1000000;
- int N0 = n, N1 = n/2, N2 = n/2, N3 = n, N4 = n, N5 = n;
+ int N0 = n, N1 = n, N2 = n/2, N3 = n, N4 = n, N5 = n;
seed = 1636306010; // time(NULL);
printf("\nUnordered hash map shootout\n");