Skip to content

Commit 456bd9e

Browse files
committed
update
1 parent b9bddad commit 456bd9e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/pytests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
12+
python-version: ["3.12", "3.13"]
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -58,18 +58,18 @@ jobs:
5858
run: |
5959
python -c "
6060
import pyfusefilter
61-
print(' Import successful')
61+
print('[OK] Import successful')
6262
6363
# Test basic functionality
6464
f = pyfusefilter.Xor8([1, 2, 3, 4, 5])
65-
print(f' Filter created: {f}')
66-
print(f' Contains 3: {f.contains(3)}')
67-
print(f' Does not contain 10: {not f.contains(10)}')
65+
print(f'[OK] Filter created: {f}')
66+
print(f'[OK] Contains 3: {f.contains(3)}')
67+
print(f'[OK] Does not contain 10: {not f.contains(10)}')
6868
6969
# Test serialization
7070
serialized = f.serialize()
7171
recovered = pyfusefilter.Xor8.deserialize(serialized)
72-
print(f' Serialization works: {recovered.contains(3)}')
72+
print(f'[OK] Serialization works: {recovered.contains(3)}')
7373
"
7474
7575
build-wheel:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ performance, and a small memory usage.
1212
`pip install pyfusefilter`
1313

1414

15+
## API
1516

16-
17+
[API Documentation](https://fastfilter.github.io/pyfusefilter/docs/pyfusefilter.html)
1718

1819
## Usage
1920

2021

22+
2123
The filters Xor8 and Fuse8 use slightly over a byte of memory per entry, with a false positive rate of about 0.39%.
2224
The filters Xor16 and Fuse16 use slightly over two bytes of memory per entry, with a false positive rate of about 0.0015%. For large sets, Fuse8 and Fuse16 filters use slightly more memory and they can be built
2325
faster.

0 commit comments

Comments
 (0)