Skip to content

Commit 64bf881

Browse files
committed
feat: support CompactThetaSketch
1 parent 95ee447 commit 64bf881

7 files changed

Lines changed: 6513 additions & 1 deletion

File tree

datasketches/src/hash/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ pub(crate) use self::xxhash::XxHash64;
3535
/// and seed are identical for both sketches, otherwise the assumed 1:1 relationship between the
3636
/// original source key value and the hashed bit string would be violated. Once you have developed
3737
/// a history of stored sketches you are stuck with it.
38-
pub(crate) const DEFAULT_UPDATE_SEED: u64 = 9001;
38+
/// The default seed used for hashing.
39+
pub const DEFAULT_UPDATE_SEED: u64 = 9001;
3940

4041
/// Computes and checks the 16-bit seed hash from the given long seed.
4142
///

0 commit comments

Comments
 (0)