perf: reduce type instantiations on route matching
๐ Linked issue
fix nuxt/nuxt#33735
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [x] ๐ Bug fix (a non-breaking change that fixes an issue)
- [x] ๐ Enhancement (improving an existing functionality like performance)
- [ ] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Here are the tsc diagnostic results with 200 API routes:
| before | after |
|---|---|
๐ Checklist
- [x] I have linked an issue or discussion.
- [x] I have updated the documentation accordingly.
@KazariEX is attempting to deploy a commit to the Nitro Team on Vercel.
A member of the Team first needs to authorize it.
Can you please rebase it against v2 branch and make sure has no breaking changes? ๐
Hi! I'm autofix.ci, a bot that automatically fixes trivial issues such as code formatting in pull requests.
I would like to apply some automated changes to this pull request, but it looks like I don't have the necessary permissions to do so. To get this pull request into a mergeable state, please do one of the following two things:
- Allow edits by maintainers for your pull request, and then re-trigger CI (for example by pushing a new commit).
- Manually fix the issues identified for your pull request (see the GitHub Actions output for details on what I would like to change).