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

Should offer a convenient Java library for persistent use #5

Open
lemire opened this issue Apr 24, 2019 · 0 comments
Open

Should offer a convenient Java library for persistent use #5

lemire opened this issue Apr 24, 2019 · 0 comments

Comments

@lemire
Copy link
Member

lemire commented Apr 24, 2019

The current library is not ideal for all end users. It assumes that you are building a filter and holding it in memory all in one go.

Instead, most end users would like two distinct operations. One is "construction". The current code does this fine. The construction should allow us to serialize to disk the result.

Then you want to be able to simply query the result. In practice, you cannot assume that the data is in memory as an array. A safer assumption is to rely on a ByteBuffer. In practice, this will often be totally independent from the construction part.

Ideally, this should be compatible with the C/C++ code (which involves accessing the data in little endian mode).

Reference:
https://github.com/FastFilter/xor_singleheader

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

No branches or pull requests

1 participant