| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Luajit FFI bindings to FZY.
make
luajit benchmark.lua
Results:
Lines: 100000 Native: -> Total: 34130 -> Time: 69.418 ms Original: -> Total: 34130 -> Time: 835.683 ms
The C version of fzy in that repo contains 2 differences with the original:
The fzy algorithm requires that you call fzy.has_match(string, needle) to prefilter all your matches. Only after that is done you can call the other functions such as fzy.positions(string, needle).
| Back | FazBrowse Home | New Git URL |