-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is the perfomance 3-5x times slower compared to stock :Files command? #6
Comments
You can see why in the bash script: https://github.com/tweekmonster/fzf-filemru/blob/master/bin/filemru.sh The project files are filtered from the start, so you will see a startup delay. I doubt that If you're on macOS and use This plugin's only performance-related goal was to be faster than a pure VimScript implementation of the above features. |
Im on arch linux, thx for your very detailed answer, i added more filetypes and folders to ignore and the performance is now quiet aceptable. So i guess only a rewrite in go, rust, c ... could speed up the perf. |
Vim plugins that require a binary component require more maintenance and documentation, so I avoided it. I thought about using Go because it would've made it easy to have Windows support, though. But, this is a small plugin and there isn't exactly demand for that. I think having a binary would speed up the string operations and the sorting, but I think the bottleneck is still going to be the |
alright i think max. 3-5x times slower is fair enough under this conditions atm : ) |
Note that i superchared fzf with ripgrep https://medium.com/@crashybang/supercharge-vim-with-fzf-and-ripgrep-d4661fc853d2
The text was updated successfully, but these errors were encountered: