diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-08-19 11:11:10 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-08-19 11:11:10 +0000 |
commit | d62601d2782f328adf40912b9909bcf4d6124961 (patch) | |
tree | eb43661101e92b88d8c826fc41d55a5a521820f2 /searchcore | |
parent | e293065d80c26b2771f7977a5b6bbb5ac9906a0b (diff) |
Hide hash implementation details.
Diffstat (limited to 'searchcore')
4 files changed, 5 insertions, 5 deletions
diff --git a/searchcore/src/vespa/searchcore/bmcluster/bucket_db_snapshot.cpp b/searchcore/src/vespa/searchcore/bmcluster/bucket_db_snapshot.cpp index f91eb135066..0eeb5f76395 100644 --- a/searchcore/src/vespa/searchcore/bmcluster/bucket_db_snapshot.cpp +++ b/searchcore/src/vespa/searchcore/bmcluster/bucket_db_snapshot.cpp @@ -65,4 +65,4 @@ BucketDbSnapshot::try_get_bucket_info(BucketId bucket_id) const } -VESPALIB_HASH_MAP_INSTANTIATE_H(document::BucketId, storage::spi::BucketInfo, document::BucketId::xxhash);
\ No newline at end of file +VESPALIB_HASH_MAP_INSTANTIATE_H(document::BucketId, storage::spi::BucketInfo, document::BucketId::hash);
\ No newline at end of file diff --git a/searchcore/src/vespa/searchcore/bmcluster/bucket_db_snapshot.h b/searchcore/src/vespa/searchcore/bmcluster/bucket_db_snapshot.h index 5881267f2e0..189250194b4 100644 --- a/searchcore/src/vespa/searchcore/bmcluster/bucket_db_snapshot.h +++ b/searchcore/src/vespa/searchcore/bmcluster/bucket_db_snapshot.h @@ -17,10 +17,10 @@ namespace search::bmcluster { */ class BucketDbSnapshot { - using BucketInfoMap = vespalib::hash_map<document::BucketId, storage::spi::BucketInfo, document::BucketId::xxhash>; + using BucketInfoMap = vespalib::hash_map<document::BucketId, storage::spi::BucketInfo, document::BucketId::hash>; BucketInfoMap _buckets; public: - using BucketIdSet = vespalib::hash_set<document::BucketId, document::BucketId::xxhash>; + using BucketIdSet = vespalib::hash_set<document::BucketId, document::BucketId::hash>; BucketDbSnapshot(); BucketDbSnapshot(const BucketDbSnapshot &) = delete; BucketDbSnapshot & operator=(const BucketDbSnapshot &) = delete; diff --git a/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.h b/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.h index 2a50fbc2d42..7c1c336ab48 100644 --- a/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.h +++ b/searchcore/src/vespa/searchcore/proton/bucketdb/bucketdb.h @@ -19,7 +19,7 @@ private: using Timestamp = storage::spi::Timestamp; using BucketChecksum = storage::spi::BucketChecksum; using BucketState = bucketdb::BucketState; - using Map = vespalib::hash_map<BucketId, BucketState, document::BucketId::xxhash>; + using Map = vespalib::hash_map<BucketId, BucketState, document::BucketId::hash>; Map _map; BucketId _cachedBucketId; diff --git a/searchcore/src/vespa/searchcore/proton/persistenceengine/persistenceengine.cpp b/searchcore/src/vespa/searchcore/proton/persistenceengine/persistenceengine.cpp index 830dbfedf20..c6d9bbd82b9 100644 --- a/searchcore/src/vespa/searchcore/proton/persistenceengine/persistenceengine.cpp +++ b/searchcore/src/vespa/searchcore/proton/persistenceengine/persistenceengine.cpp @@ -99,7 +99,7 @@ GenericResultHandler::~GenericResultHandler() = default; class BucketIdListResultHandler : public IBucketIdListResultHandler { private: - using BucketIdSet = vespalib::hash_set<document::BucketId, document::BucketId::xxhash>; + using BucketIdSet = vespalib::hash_set<document::BucketId, document::BucketId::hash>; BucketIdSet _bucketSet; public: BucketIdListResultHandler() |