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

Use []bytes instead of strings in router #11

Closed
abahmed opened this issue May 10, 2020 · 0 comments · Fixed by #18
Closed

Use []bytes instead of strings in router #11

abahmed opened this issue May 10, 2020 · 0 comments · Fixed by #18
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@abahmed
Copy link
Member

abahmed commented May 10, 2020

Fasthttp recommends to avoid conversation between []byte and string.

We can avoid that in our routing process entirely. Through

  • update Ternary Search Tree to get and set keys in []byte
  • parsing and constructing routing tree in []byte not string
@abahmed abahmed added the enhancement New feature or request label May 10, 2020
@abahmed abahmed added this to the v1 milestone May 10, 2020
@muhammednagy muhammednagy self-assigned this May 10, 2020
@abahmed abahmed assigned abahmed and unassigned muhammednagy May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants