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

perf(gen): use constant array/map for path parameters to prevent allocations and speedup lookup #119

Closed
tdakkota opened this issue Jan 18, 2022 · 0 comments · Fixed by #128
Labels
performance Performance issues

Comments

@tdakkota
Copy link
Member

tdakkota commented Jan 18, 2022

Currently router generator uses a map[string]string for storing parameters. It may be inefficient for our purposes because we know maxium size and all possible keys of the parameter map at generation time.

Useful links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant