Skip to content

about reset #80

@rockit-ba

Description

@rockit-ba

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions