summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-08-08 14:46:24 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-08-08 14:46:24 +0000
commitc9206e7881979b5d2e2a0265e6d483677cb0d7dd (patch)
tree92571f78ac018588d4d0af00e1e4bbd2039eeabe /vespalib
parentb0e64927bc95abe3587262084dd57fbb3ef038e4 (diff)
Use vespalib hash_set since it is significantly faster and than std::unordered_set
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/stllike/hash_set.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/stllike/hash_set.cpp b/vespalib/src/vespa/vespalib/stllike/hash_set.cpp
index 8812af426bf..54614329a97 100644
--- a/vespalib/src/vespa/vespalib/stllike/hash_set.cpp
+++ b/vespalib/src/vespa/vespalib/stllike/hash_set.cpp
@@ -6,6 +6,8 @@
namespace vespalib {
}
+VESPALIB_HASH_SET_INSTANTIATE(int16_t);
+VESPALIB_HASH_SET_INSTANTIATE(uint16_t);
VESPALIB_HASH_SET_INSTANTIATE(int32_t);
VESPALIB_HASH_SET_INSTANTIATE(uint32_t);
VESPALIB_HASH_SET_INSTANTIATE(uint64_t);