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

Question about the description of prefix tree in README #326

Open
Q1mi opened this issue Nov 27, 2020 · 1 comment
Open

Question about the description of prefix tree in README #326

Q1mi opened this issue Nov 27, 2020 · 1 comment

Comments

@Q1mi
Copy link

Q1mi commented Nov 27, 2020

Priority   Path             Handle
9          \                *<1>
3          ├s               nil
2          |├earch\         *<2>
1          |└upport\        *<3>
2          ├blog\           *<4>
1          |    └:post      nil
1          |\     *<5>
2          ├about-us\       *<6>
1          |        └team\  *<7>
1          └contact\        *<8>

why the priority of paths is 3 here ?
i think there are only two handles( *<2> and *<3>) registered here,did I miss something?

@Q1mi Q1mi changed the title The description of prefix tree in README Question about the description of prefix tree in README Jan 7, 2021
@Fov6363
Copy link
Contributor

Fov6363 commented Jan 17, 2022

The s priority is 2, the doc is error, you can try it.

similark pushed a commit to similarweb/httprouter that referenced this issue May 9, 2023
Signed-off-by: laminar <[email protected]>
Signed-off-by: laminar <[email protected]>

Co-authored-by: Aaron Schlesinger <[email protected]>
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

No branches or pull requests

2 participants