vamolessa / pepper

simple and opinionated modal code editor for your terminal
https://vamolessa.github.io/pepper/
373 stars 15 forks source link

fuzzy_match is extremelly slow on some degenerate cases #8

Closed vamolessa closed 3 years ago

vamolessa commented 3 years ago

The easiest way to reproduce it is by entering insert mode without a lsp server running and repeatedly insert a character (say, x). When the word being typed is at length around 23, it begins lagging hard because of fuzzy_match poor performance.