Add direct algo fast path in matchChunk
Before adoption: this commit came in with the history the project adopted, so no landing records it.
For the common case of a single fuzzy term with no nth transform, call the algo function directly from matchChunk, bypassing the MatchItem -> extendedMatch -> iter dispatch chain. This eliminates 3 function calls and the per-match []Offset heap allocation.
authored by Junegunn Choi · committed by Junegunn Choi · parent 8452c78 · Browse files · 2 files+56 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+56 added−3 removed
- other:+56 added−3 removed