diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2021-03-19 14:26:10 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2021-03-19 14:26:10 +0100 |
commit | 90599475e43baa18897e095e4f2c398eef18714d (patch) | |
tree | e2a0bcdc37b6f937d12a1506995282b101520900 /vespalib | |
parent | 0b563fff5e00b45df8550e197961b6c5d868c0ff (diff) |
Use 3 stripes in vespalib::datastore::SimpleHashMap.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/datastore/simple_hash_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/simple_hash_map.h b/vespalib/src/vespa/vespalib/datastore/simple_hash_map.h index 78e224c65df..2d97a9d45fc 100644 --- a/vespalib/src/vespa/vespalib/datastore/simple_hash_map.h +++ b/vespalib/src/vespa/vespalib/datastore/simple_hash_map.h @@ -36,7 +36,7 @@ public: using sgeneration_t = GenerationHandler::sgeneration_t; private: GenerationHolder _gen_holder; - static constexpr size_t num_stripes = 1; + static constexpr size_t num_stripes = 3; std::atomic<FixedSizeHashMap *> _maps[num_stripes]; std::unique_ptr<const EntryComparator> _comp; |