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

feat: Pre-generate encode trie #776

Merged
merged 5 commits into from
Apr 2, 2022
Merged

feat: Pre-generate encode trie #776

merged 5 commits into from
Apr 2, 2022

Conversation

fb55
Copy link
Owner

@fb55 fb55 commented Apr 2, 2022

This increases the size of the encode data from 22kb to 28kb. We gain a slight improvement in encoding performance due to a reduction of value wrappers, and improved tooling support; eg. Bundlephobia currently breaks due to the import assertion necessary for importing a JSON file.

@fb55 fb55 enabled auto-merge (squash) April 2, 2022 12:46
@fb55 fb55 disabled auto-merge April 2, 2022 12:47
@fb55 fb55 merged commit 3ef75e1 into master Apr 2, 2022
@fb55 fb55 deleted the generate-encode-trie branch April 2, 2022 12:48
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