Skip to content

Commit

Permalink
Change InvertedIndex hash table to hash_table8
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrsmirn committed Dec 24, 2023
1 parent 84c64bf commit 1eddb08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void SampledInvertedIndex::FinalizeInsertion(
}
}

for (auto const& [record, _, hash] : inverted_index_) {
for (auto const& [hash, record] : inverted_index_) {
emhash2::HashSet<int> const& cc_indices = record.first;

for (int dep_cc_index : cc_indices) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SampledInvertedIndex {
using LockPrimitive = std::mutex;

// Maps combined hash to the column combination IDs
emhash7::HashMap<size_t, std::pair<emhash2::HashSet<int>, std::unique_ptr<LockPrimitive>>>
emhash8::HashMap<size_t, std::pair<emhash2::HashSet<int>, std::unique_ptr<LockPrimitive>>>
inverted_index_;

emhash2::HashSet<SimpleIND> discovered_inds_;
Expand Down

0 comments on commit 1eddb08

Please sign in to comment.