Skip to content

Conversation

hoytak
Copy link
Collaborator

@hoytak hoytak commented Jun 3, 2025

This PR adds in a collection of correctness tests for the base gearhash-based chunker code. It's meant to also provide reference values for other implementations of the core algorithm and is written in a way that can be easily ported.

@hoytak hoytak requested review from rajatarya and assafvayner June 3, 2025 19:55
Copy link
Contributor

@assafvayner assafvayner left a comment

Choose a reason for hiding this comment

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

LGTM except possible typo.

SplitMix64 should be reproducible in JS, if not we can always swap the random number generator.

@hoytak hoytak merged commit e770ac7 into main Jun 3, 2025
4 checks passed
@hoytak hoytak deleted the hoytak/250603-chunker-reference-data branch June 3, 2025 22:00
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