mirror of
https://github.com/infinite-iroha/touka.git
synced 2026-06-13 15:47:38 +08:00
fix: streamline route matcher backtracking
Avoid rebuilding skipped-node state during wildcard fallback so the matcher no longer loops on the same static branch and stops allocating on the hot path. Add focused route benchmarks and regression coverage to keep the optimized path stable.
This commit is contained in:
parent
b1ce4d584e
commit
6acac9edce
5 changed files with 240 additions and 41 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
test
|
||||
test
|
||||
/bench_route_match_baseline.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue