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

Improve completion performance #412

Closed
renkun-ken opened this issue Apr 8, 2021 · 0 comments · Fixed by #413
Closed

Improve completion performance #412

renkun-ken opened this issue Apr 8, 2021 · 0 comments · Fixed by #413

Comments

@renkun-ken
Copy link
Member

When I'm dealing with numerous large documents with numerous packages attached, the completion could become laggy as the first keystroke triggers the completion request which more than 2000 items are returned but most are useless.

I think we could truncate the completion list to a number and use isIncomplete = TRUE so that next keystroke could still trigger completion request but this time it narrows down the range often significantly. This would probably improve the performance of completion.

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 a pull request may close this issue.

1 participant