Skip to content

Conversation

OneOfOne
Copy link

This a few minor optimizations I applied to my local fork, thought I'd share back.

the biggest one is findCaseInsensitivePath:

#before
BenchmarkTreeFindCaseInsensitivePath-32           121699              9786 ns/op             320 B/op         26 allocs/op
# after
BenchmarkTreeFindCaseInsensitivePath-32           123482              9771 ns/op             176 B/op         25 allocs/op

similark pushed a commit to similarweb/httprouter that referenced this pull request May 9, 2023
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

Successfully merging this pull request may close these issues.

1 participant