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

about reset #80

Open
rockit-ba opened this issue Oct 27, 2021 · 2 comments
Open

about reset #80

rockit-ba opened this issue Oct 27, 2021 · 2 comments
Labels

Comments

@rockit-ba
Copy link

about reset

let mut hash = XxHash64::with_seed(0);
hash.write(...);
// reset here
let mut hash = XxHash64::with_seed(0);

Originally posted by @shepmaster in #72 (comment)

How much better is it to recreate an object than to reset the internal value of a hash?

@shepmaster
Copy link
Owner

I don't understand the question. Can you rephrase it?

Do you believe there's a difference between recreating the object and "reset the internal value of a hash"?

@rockit-ba
Copy link
Author

rockit-ba commented Nov 6, 2021 via email

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

No branches or pull requests

2 participants