viz-rs / path-tree

path-tree is a lightweight high performance HTTP request router for Rust
Apache License 2.0
119 stars 18 forks source link

feat: normal match repeated pattern #37

Closed TroyKomodo closed 8 months ago

TroyKomodo commented 8 months ago

fixes: #36

TroyKomodo commented 8 months ago

main (baseline)

path_find/path_tree_findtime:
[18.834 µs 18.871 µs 18.912 µs]

bugfix

path_find/path_tree_findtime:
[19.249 µs 19.276 µs 19.307 µs]

iterator copied

path_find/path_tree_findtime:
[25.750 µs 25.804 µs 25.870 µs]
fundon commented 8 months ago

Landed in v0.7.4.