Files
junegunn--fzf/src
Junegunn Choi f779e6a4df Add fast path for two-character patterns in FuzzyMatchV2
For two ASCII characters, rows 0 and 1 of the score matrix collapse to
scalar running state, so Phase 2 and Phase 3 fuse into one pass with no
score arrays. withPos stores the two rows for the backtrace. Up to 1.4x
on two-char queries, the most common multi-char length.

Verify both fast paths against the general algorithm with exhaustive
(every short string over a class-complete alphabet) and fuzz tests,
runnable via the new make fuzz target.
2026-07-27 21:19:37 +09:00
..
2026-04-20 00:47:16 +09:00
2025-11-12 22:05:17 +09:00
2026-05-25 14:31:51 +09:00
2025-11-12 22:05:17 +09:00
2023-07-16 17:14:22 +09:00
2016-08-19 02:39:32 +09:00
2026-02-19 00:20:09 +09:00
2024-09-29 19:33:42 +09:00
2024-09-29 19:33:42 +09:00
2026-07-05 22:00:55 +09:00
2024-11-03 20:12:47 +09:00
2026-04-20 00:47:16 +09:00