Allow saving and resuming from hash state #1123
Labels
No labels
announcement
bug
build
CI
dependencies
documentation
duplicate
enhancement
experience feedback
feature request
github_actions
help wanted
install
invalid
Long-term
optimization
portability
question
target-specific
test issue
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Cyan4973/xxHash#1123
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be useful to allow serializing the state of a running hash to be deserialized at a later time and resume adding to the hash state as if no serialization had happened (see this and this).
Perhaps some functions could be added to the public API to allow for de/serializing a running hash. Considering that
XXH3_state_shasn't changed in 6 years, it seems probable that its pretty stable. So perhaps versioning doesn't need to be a concern.