3 ms·
The fsevents part is interesting, didn't know that! To your point regarding the slowness - in that case it's not really acting as an index though, is it, if yo
by cube2222 4y ago
The fsevents part is interesting, didn't know that!
To your point regarding the slowness - in that case it's not really acting as an index though, is it, if you're scanning the whole list and passing it to fzf?
A proper fuzzy text search index (I think elastic and similar engines have these built-in) should yield orders of magnitude better performance.
- alin23 4y agoYes, you're right. I did try Meilisearch for this but I wanted close-to-instant Smith-Waterman fuzzy searching which is why I settled on FZF. In the end I might have to reimplement that in Swift with an always cached index and native Spotlight like search bar to really make this as easy to use as I want. It's not practical to reach for the browser or Terminal to do this search.