Closed laysakura closed 4 months ago
recursion -> loop
This has been fixed. Here's the latest benchmark on v0.3.0.
Benchmarking [ec35136] Trie::predictive_search() 100 times
Benchmarking [ec35136] Trie::predictive_search() 100 times: Warming up for 1.0000 s
Benchmarking [ec35136] Trie::predictive_search() 100 times: Collecting 10 samples in estimated 5.0899 s (880 iterations)
Benchmarking [ec35136] Trie::predictive_search() 100 times: Analyzing
[ec35136] Trie::predictive_search() 100 times
time: [5.7049 ms 5.7427 ms 5.7790 ms]
change: [-1.8845% -0.7764% +0.2725%] (p = 0.20 > 0.05)
No change in performance detected.
Many not use recursion.