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

added support for XXH3_128 #1

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Conversation

sprhawk
Copy link
Contributor

@sprhawk sprhawk commented Mar 25, 2021

A quick hack to use XXH3_128 streaming struct.

Due to std::hash::Hasher has only support for finish() -> u64, I only remove impl Hasher for XXH3_128

src/lib.rs Outdated
}
}

impl XXH3_128 {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move it into the same impl block?

@DoumanAsh
Copy link
Owner

I don't mind having it, I was just too lazy because I don't really have need for 128bit hashes.
I probably should introduce streaming rust implementation in my xxhash-rust crate but it is fairly complex work :D

@DoumanAsh DoumanAsh merged commit 1c421bb into DoumanAsh:master Mar 25, 2021
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.

2 participants