Skip to content

Commit 8b0e285

Browse files
committed
edit comment
1 parent f092081 commit 8b0e285

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bloom.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
//

scalable_bloom.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var (
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
//

0 commit comments

Comments
 (0)