File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ mod sim_hash;
1818
1919use bitvec:: * ;
2020pub use config:: { GeoDiffConfig13 , GeoDiffConfig7 } ;
21- pub use sim_hash:: SimHash ;
21+ pub use sim_hash:: { SimHash , SIM_BUCKETS , SIM_BUCKET_SIZE } ;
2222
2323/// Diff count filter with a relative error standard deviation of ~0.125.
2424pub type GeoDiffCount7 < ' a > = GeoDiffCount < ' a , GeoDiffConfig7 > ;
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ use crate::Diff;
1212use super :: BitVec ;
1313
1414/// Number of bits covered by each SimHash bucket.
15- pub ( crate ) const SIM_BUCKET_SIZE : usize = 6 ;
15+ pub const SIM_BUCKET_SIZE : usize = 6 ;
1616/// Number of consecutive SimHash buckets used for searching.
17- pub ( crate ) const SIM_BUCKETS : usize = 20 ;
17+ pub const SIM_BUCKETS : usize = 20 ;
1818
1919pub type BucketId = usize ;
2020
You can’t perform that action at this time.
0 commit comments