mirror of
https://github.com/solaeus/nucleo.git
synced 2024-11-12 18:17:11 +00:00
A fast and convenient fuzzy matcher library for rust
becd35c5de
switch to a algorithm with two matrices (but optimized to have 1 matrix while tracking indices and just a single row if only scoring) that can be proven to always provide the optimal result (fzfs' v2 algorithm does not and can even produce wore results than its v1 algorithm). The algorithm is very similar to skim but still uses fzfs bonus system and is orders of magnitude faster (and falls back to fzfs greedy v1 algorithm which is actually surprisingly close to the optimal algorithm). |
||
---|---|---|
fuzz | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
fuzz.sh | ||
generate_case_fold_table.sh | ||
LICENSE | ||
README.md | ||
tarpulin.toml | ||
typos.toml |
fzf_oxide
An optimized rust port of the fzf fuzzy matching algorithm
TODO:
- case mismatch penalty
- substring/prefix/postfix/exact matcher
- high level API (worker thread, query parsing, sorting)