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

Expose a streaming api? #9

Closed
thatmarvin opened this issue Jun 4, 2020 · 2 comments · Fixed by #26
Closed

Expose a streaming api? #9

thatmarvin opened this issue Jun 4, 2020 · 2 comments · Fixed by #26

Comments

@thatmarvin
Copy link

Any chance you'd consider exposing an api that'll enable hashing the content of a large file (that won't fit in memory)? Maybe the equivalent of the XXH64_update C api as used in the streaming variant in this example here?

Fantastic lib btw, it's a little shocking how fast this runs! 🚀

@jungomi
Copy link
Owner

jungomi commented Jun 4, 2020

That would certainly be interesting, but I have no plans to work on implementing new features, given that I don't really have time for it.

I'm open for pull requests to add such a feature, if anyone wanted to implement it.

@marcusdarmstrong
Copy link
Contributor

I've implemented this for xxhash64 for my employer—Hopefully I'll be able to share it with you guys this spring, pending the legal hoops on our end to get it approved for open source publication internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants