Skip to content

Commit

Permalink
Working GapHash
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCappelletti94 committed Aug 31, 2024
1 parent a4c868c commit 737696d
Show file tree
Hide file tree
Showing 14 changed files with 146,866 additions and 59,490 deletions.
12 changes: 6 additions & 6 deletions benches/hash_list_insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ use hyperloglog_rs::prelude::*;

type Switch = Hybrid<
PlusPlus<
Precision10,
Precision12,
Bits5,
<Precision10 as ArrayRegister<Bits5>>::Packed,
<Precision12 as ArrayRegister<Bits5>>::Packed,
twox_hash::XxHash64,
>,
SwitchHash<Precision10, Bits5>,
SwitchHash<Precision12, Bits5>,
>;
type Gap = Hybrid<
PlusPlus<
Precision10,
Precision12,
Bits5,
<Precision10 as ArrayRegister<Bits5>>::Packed,
<Precision12 as ArrayRegister<Bits5>>::Packed,
twox_hash::XxHash64,
>,
GapHash<SwitchHash<Precision10, Bits5>>,
GapHash<SwitchHash<Precision12, Bits5>>,
>;

fn bench_hash_list_insert(c: &mut Criterion) {
Expand Down
Binary file modified measure_variant/comparison.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 737696d

Please sign in to comment.