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

Somewhat laggy backspace #29

Closed
Kapeli opened this issue Mar 23, 2014 · 2 comments
Closed

Somewhat laggy backspace #29

Kapeli opened this issue Mar 23, 2014 · 2 comments
Assignees

Comments

@Kapeli
Copy link

Kapeli commented Mar 23, 2014

With the plugin installed, "repeat" backspacing on a string that causes the autocomplete to show up is somewhat lagged/delayed.

Note: I've got the "Key Repeat" setting set to "Fast" in System Preferences.

Without plugin:

2014-03-23 12_16_11

With plugin:

2014-03-23 12_16_23

@chendo
Copy link
Member

chendo commented Mar 23, 2014

This is due to the fuzzy matching being more CPU intensive. I haven't noticed it because I tend to delete words rather than single characters. Caching results would probably help... I'll poke at it later

@slazyk slazyk self-assigned this Apr 18, 2014
@slazyk slazyk closed this as completed in 6646a53 Apr 24, 2014
@slazyk
Copy link
Member

slazyk commented Apr 24, 2014

Now the previous results are cached, so backspacing should be much faster.

There will still be a need to calculate results when backspacing after inserting a useful prefix or starting a completion for already typed string. Then the backspacing can only be further optimised by speeding up the calculations themselves.

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

No branches or pull requests

3 participants