Skip to content

Conversation

@h0tw1r3
Copy link

@h0tw1r3 h0tw1r3 commented Jan 16, 2026

Continuation of PR #9397

This PR just adds a few commits to create a single function as requested (#9397 (comment)) and test coverage.

In addition to the performance improvements with xxhash, my motivation was to remove md5 crypto as a whole because it's not supported when enabling FIPS mode.

Original PR description below


Switch to using faster xxhash for cache keys and versions of data models instead of slow crypto.createHash('md5').
Use the fastest node xxhash implementation, written in ... of course rust :)

XXH3: generates 64 or 128-bit hashes, using vectorized arithmetic.

Here are some more info for those who is interested:

@h0tw1r3 h0tw1r3 requested review from a team as code owners January 16, 2026 16:51
@github-actions github-actions bot added javascript Pull requests that update Javascript code data source driver pr:community Contribution from Cube.js community members. labels Jan 16, 2026
@h0tw1r3
Copy link
Author

h0tw1r3 commented Jan 16, 2026

@ovr tagging as you requested the shared defaultHasher interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data source driver javascript Pull requests that update Javascript code pr:community Contribution from Cube.js community members.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants