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 , SIM_BUCKETS , SIM_BUCKET_SIZE } ;
21+ pub use sim_hash:: SimHash ;
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,13 +12,13 @@ use crate::Diff;
1212use super :: BitVec ;
1313
1414// TODO migrate these const values to be defined in configuration
15- // The current values are only really appropriate for smaller
16- // configurations
15+ // The current values are only really appropriate for the smaller
16+ // diff configuration.
1717
1818/// Number of bits covered by each SimHash bucket.
19- pub const SIM_BUCKET_SIZE : usize = 6 ;
19+ const SIM_BUCKET_SIZE : usize = 6 ;
2020/// Number of consecutive SimHash buckets used for searching.
21- pub const SIM_BUCKETS : usize = 20 ;
21+ const SIM_BUCKETS : usize = 20 ;
2222
2323pub type BucketId = usize ;
2424
You can’t perform that action at this time.
0 commit comments