diff options
| author | Tyge Løvset <[email protected]> | 2021-10-21 16:05:59 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-10-21 16:05:59 +0200 |
| commit | f72f2ed6ccaf5c960e5b6f3a3e8a3e9702119c73 (patch) | |
| tree | 47ed46fe6c6e8754d2c000b9e34310298b8312b6 /benchmarks | |
| parent | 3087f811a1cb0510a2753388461c85bf4bc7f6e3 (diff) | |
| download | STC-modified-f72f2ed6ccaf5c960e5b6f3a3e8a3e9702119c73.tar.gz STC-modified-f72f2ed6ccaf5c960e5b6f3a3e8a3e9702119c73.zip | |
Minor change.
Diffstat (limited to 'benchmarks')
| -rw-r--r-- | benchmarks/shootout2_cmap.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/shootout2_cmap.cpp b/benchmarks/shootout2_cmap.cpp index e55b4f5a..10c66d89 100644 --- a/benchmarks/shootout2_cmap.cpp +++ b/benchmarks/shootout2_cmap.cpp @@ -5,6 +5,7 @@ #include "others/khash.h"
#ifdef __cplusplus
+#include <limits>
#include <unordered_map>
#include "others/robin_hood.hpp"
#include "others/skarupke/bytell_hash_map.hpp"
@@ -18,7 +19,7 @@ template<typename C> inline void destroy_me(C& c) { C().swap(c); } // cmap and khash template expansion
#define i_key int64_t
#define i_val int64_t
-#define i_hash c_default_hash64
+#define i_hash c_default_hash32
#define i_tag ii
#include <stc/cmap.h>
|
