-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Reuse arrays in visitor keys #18386
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
Reuse arrays in visitor keys #18386
Conversation
commit: |
✅ Deploy Preview for prettier ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for prettier ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
1c6e765 to
9cb9c56
Compare
|
Ha! I'm glad I "inspired" you. I'm actually not sure how much of an optimization it was. Main thing in Oxc is that we wanted to deep freeze visitor keys, so this removed a bunch of |
|
We don't need freeze, since they are not directly accessible. They used under a function call, because we support different languages,
At least, it reduces the bundle size. 😄 |
Description
Thanks to @overlookmotel oxc-project/oxc#16294 😄
Checklist
docs/directory).changelog_unreleased/*/XXXX.mdfile followingchangelog_unreleased/TEMPLATE.md.