summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/cmap_benchmark.cpp
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-10 23:27:30 +0100
committerTyge Løvset <[email protected]>2021-01-10 23:27:30 +0100
commitaa235b0080c563786e46fff1961277e2f84b379c (patch)
tree4644b96112e39f17337b87a5a628bca5461502df /benchmarks/cmap_benchmark.cpp
parentf504699fb346eeb37b2ea2afe493566a26be7f4e (diff)
downloadSTC-modified-aa235b0080c563786e46fff1961277e2f84b379c.tar.gz
STC-modified-aa235b0080c563786e46fff1961277e2f84b379c.zip
Updated benchmarks for maps.
Switched args in cmap_X_set_load_factors().
Diffstat (limited to 'benchmarks/cmap_benchmark.cpp')
-rw-r--r--benchmarks/cmap_benchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/cmap_benchmark.cpp b/benchmarks/cmap_benchmark.cpp
index 9475ddc5..bdbcb9c9 100644
--- a/benchmarks/cmap_benchmark.cpp
+++ b/benchmarks/cmap_benchmark.cpp
@@ -34,7 +34,7 @@ stc64_t rng;
#define CMAP_SETUP(X, Key, Value) cmap_##X map = cmap_inits \
- ; cmap_##X##_set_load_factors(&map, max_load_factor, 0.0)
+ ; cmap_##X##_set_load_factors(&map, 0.0, max_load_factor)
#define CMAP_PUT(X, key, val) cmap_##X##_put(&map, key, val).first->second
#define CMAP_EMPLACE(X, key, val) cmap_##X##_emplace(&map, key, val).first->second
#define CMAP_ERASE(X, key) cmap_##X##_erase(&map, key)