8000 refactor: upgrade to ohash v2 by pi0 · Pull Request #3114 · nitrojs/nitro · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: upgrade to ohash v2 #3114

Merged
merged 3 commits into from
Feb 21, 2025
Merged

refactor: upgrade to ohash v2 #3114

merged 3 commits into from
Feb 21, 2025

Conversation

pi0
Copy link
Member
@pi0 pi0 commented Feb 21, 2025

Upgrade to ohash v2 which can leverage native node:crypto and is smaller.

To avoid cache busting (due to different serialization/hash behavior in v2), I had to partially reimplement ohash v1 serializer with similar optimizations of ohash v2!

@pi0 pi0 merged commit f7e0e88 into v2 Feb 21, 2025
4 checks passed
@pi0 pi0 deleted the refactor/ohash-v2 branch February 21, 2025 16:35
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.

1 participant
0