Skip to content

Commit 26c7ccf

Browse files
authored
Update README.md
1 parent 1f1e548 commit 26c7ccf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ type BinaryFuse8 struct {
5858
SegmentLengthMask uint32
5959
SegmentCount uint32
6060
SegmentCountLength uint32
61-
6261
Fingerprints []uint8
6362
}
6463
```
@@ -71,7 +70,7 @@ By default, we use 8-bit fingerprints which provide a 0.4% false positive rate.
7170
this false positive rate at the expensive of more memory usage. For this purpose, we provide a generic type
7271
(`NewBinaryFuse[T]`).
7372

74-
```
73+
```Go
7574
filter8, _ := xorfilter.NewBinaryFuse[uint8](keys) // 0.39% false positive rate, uses about 9 bits per key
7675
filter16, _ := xorfilter.NewBinaryFuse[uint16](keys) // 0.0015% false positive rate, uses about 18 bits per key
7776
filter32, _ := xorfilter.NewBinaryFuse[uint32](keys) // 2e-08% false positive rate, uses about 36 bits per key

0 commit comments

Comments
 (0)