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

Migrating from radix3 to rou3 #108

Open
pi0 opened this issue Jul 4, 2024 · 0 comments
Open

Migrating from radix3 to rou3 #108

pi0 opened this issue Jul 4, 2024 · 0 comments

Comments

@pi0
Copy link
Member

pi0 commented Jul 4, 2024

Almost 3 years ago, i have created radix3 based on ctdio/radix-router - a fast trie based router.

Over the time and with more reactors, radix3's implementation is not actually a radix trie exactly but a combination of a trie and O(1) Object maps.

Considering major rewrite changes (#107), it makes more sense that we publish the library as a completely new name.

The same repo is renamed because the issues are still trackable and i want to keep contribution credits as part of rename. Old radix3 will be maintained in radix3 branch only for critical hot fixes and we encourage everyone to migrate to newer rou3

Benchmarks: https://github.com/unjs/rou3/tree/main/benchmark#results

Major changes:

  • ⚠️ Rewrite library (#107)
  • ⚠️ Support mixed params in same path segment (#52)
  • ⚠️ Fallback to dynamic matcher if last segment didn't match (#110)
  • ⚠️ Method is natively supported in all APIs
@pi0 pi0 added the discussion label Jul 4, 2024
@pi0 pi0 pinned this issue Jul 4, 2024
@pi0 pi0 changed the title Migrating from radix3 (v1) to rou3 (v2) Migrating from radix3 to rou3 Jul 4, 2024
@pi0 pi0 changed the title Migrating from radix3 to rou3 Migrating from radix3 to rou3 Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant