File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ var DefaultBloomOptions = BloomOptions{
7878}
7979
8080// NewBloom creates a new bloom filter.
81- // err_rate is the desired false error rate. e.g. 0.001 implies 1 in 1000
81+ // err_rate is the desired false error rate. e.g. 0.001 implies 1 false positive in 1000 lookups
8282//
8383// capacity is the number of entries intended to be added to the filter
8484//
Original file line number Diff line number Diff line change 3737)
3838
3939// NewScalableBloom creates a new scalable bloom filter.
40- // err_rate is the desired error rate.
40+ // err_rate is the desired false error rate. e.g. 0.001 implies 1 false positive in 1000 lookups
4141// initial_capacity is the initial capacity of the bloom filter. When the number
4242// of items exceed the initial capacity, a new filter is created.
4343//
You can’t perform that action at this time.
0 commit comments