Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved format parsing and serializing for cuckoo filter #81

Merged
merged 1 commit into from
Dec 27, 2021

Conversation

KOLANICH
Copy link
Contributor

No description provided.

@KOLANICH KOLANICH force-pushed the parse branch 10 times, most recently from 43f021a to e94e5e2 Compare December 22, 2021 18:29
@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2021

Codecov Report

Merging #81 (6b32199) into master (34e6be9) will decrease coverage by 0.62%.
The diff coverage is 92.24%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #81      +/-   ##
==========================================
- Coverage   99.08%   98.46%   -0.63%     
==========================================
  Files          15       15              
  Lines        1419     1495      +76     
==========================================
+ Hits         1406     1472      +66     
- Misses         13       23      +10     
Impacted Files Coverage Δ
probables/blooms/basebloom.py 96.80% <88.63%> (-1.90%) ⬇️
probables/cuckoo/cuckoo.py 96.86% <94.11%> (-1.14%) ⬇️
probables/utilities.py 96.00% <94.11%> (-4.00%) ⬇️

@KOLANICH KOLANICH changed the title Improved format parsing in cuckoo filter Improved format parsing and serializing for cuckoo filter Dec 22, 2021
@barrust
Copy link
Owner

barrust commented Dec 22, 2021

This looks good in a cursory look but I will need to spend more time to actually review it.

Python3.5 and Python3.6 both failed the tests. Will provide more feedback later.

Thanks!

1. Used typed arrays for better efficiency.
2. Utilized memory maps for parsing.
3. Allow parsing and serializing from/to `ByteString`s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants