-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Identical filters should serialize to identical binraries * Fix non-deterministic to_bin Calling to_bin on identical filters returns non-equal binaries. It _appears_ to related to use of uninitialzed memeory in the xorfilter library itself. Because we're already replacing its use of malloc with enif_alloc, let's override it to use a custom function that wraps enif_alloc with memset.
- Loading branch information
1 parent
db02d1f
commit 8f875bc
Showing
2 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters