Skip to content

Inverse Bloom Filter: wrong result after ReadFrom gzipped i/o stream #25

@shenwei356

Description

@shenwei356

Hi, Thanks for writing this useful package, I like it very much.

However when I found a problem as the title said when using InverseBloomFilter.

I edited the test code (attached below) for writing and reading a gzipped i/o stream for saving disk space, but the result said

Expected both filters to Test the same for 0

And when switching off gzipped, i.e., no compression, everything is OK.

I also test the ScalableBloomFilter, these's no such problem.

Please help, thanks for your time.


Test code:

https://gist.github.com/shenwei356/659cffae84f9cb2365ba70ac3866af49

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions