diff options
| author | Tyge Løvset <[email protected]> | 2023-03-29 18:23:54 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-03-29 18:23:54 +0200 |
| commit | 9a88ddd9cbf4c33664de258bcb5bcef6a746149a (patch) | |
| tree | 41a07d6030e57a59fd0310ff98adebc299339d5b /misc/benchmarks/shootout_hashmaps.cpp | |
| parent | 97d205f7ba096a9872afbce5e696a8806d7b72d1 (diff) | |
| download | STC-modified-9a88ddd9cbf4c33664de258bcb5bcef6a746149a.tar.gz STC-modified-9a88ddd9cbf4c33664de258bcb5bcef6a746149a.zip | |
Some optimizations in hash func.
Diffstat (limited to 'misc/benchmarks/shootout_hashmaps.cpp')
| -rw-r--r-- | misc/benchmarks/shootout_hashmaps.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/benchmarks/shootout_hashmaps.cpp b/misc/benchmarks/shootout_hashmaps.cpp index 39ad1786..947a35b4 100644 --- a/misc/benchmarks/shootout_hashmaps.cpp +++ b/misc/benchmarks/shootout_hashmaps.cpp @@ -35,6 +35,7 @@ KHASH_MAP_INIT_INT64(ii, IValue) // cmap template expansion #define i_key IKey #define i_val IValue +#define i_ssize int32_t // enable 2^K buckets like the rest. #define i_tag ii #define i_max_load_factor MAX_LOAD_FACTOR / 100.0f #include <stc/cmap.h> |
