You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resetting a Hasher should be pretty much the same thing as re-initializing it with Hasher::new. The only exception I can think of would be if the assignment decides to memcpy the entire CV stack, even though most of it is uninitialized garbage bytes. That might be unnecessarily expensive, but I've never measured it myself. We might also be able to fix that by making sure the constructors are marked #[inline].
Will this be useful in scenarios where hash calculations are very frequent?
The text was updated successfully, but these errors were encountered: