diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2024-04-14 07:52:42 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-04-14 11:48:44 +0900 |
commit | e86b81bbf5c55344f4e29060b71eb1ab563296fe (patch) | |
tree | f062615f53a9e17e284d0170631e377528aa1dc2 /install | |
parent | a5447b8b7531dacb49961d3fccc404f634f06709 (diff) |
Improve search performance by limiting the search scope
Find the last occurrence of the last character in the pattern and
perform the search algorithm only up to that point.
The effectiveness of this mechanism depends a lot on the shape of the
input and the pattern.
Diffstat (limited to 'install')
0 files changed, 0 insertions, 0 deletions