-
Notifications
You must be signed in to change notification settings - Fork 13
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
URL pattern support #51
Labels
enhancement
New feature or request
Comments
4 tasks
The only reasonable URL patterns are wildcards and URL parameters, which we can basically implement with a radix tree. RegExp is not fast, and it may decreases performance on other runtimes as well (especially Bun because for some reason JSC has really bad RegExp implementation). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Investigating URL Pattern API compatibility.
There are different goals for a fast route matcher (radix3) and a general purpose URL pattern matching standard. I still think we might somehow make a compatibility layer to convert the URL pattern to radix3. Additional regex checks (after fast initial phase) can be applied using the
URLPattern
class api.The text was updated successfully, but these errors were encountered: