Skip to content
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

Fix performance #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix performance #116

wants to merge 1 commit into from

Conversation

alezkv
Copy link

@alezkv alezkv commented Jan 29, 2025

The current version of fzf-tab-completion has a noticeable delay of about 1 second. This delay is likely due to my Zsh setup, which includes zdharma-continuum/fast-syntax-highlighting and zsh-users/zsh-autosuggestions. I believe that's not so uncommon.

After some investigation, I discovered that the primary performance issue was caused by grep regular expression parsing.

By implementing the following changes, I was able to reduce the initial delay from approximately 1 second to an unnoticeable 0.02 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant