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

feat(trigger): prefetch on InsertEnter #507

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

stefanboca
Copy link
Collaborator

Mostly a proof of concept, and probably missing some edge cases. Only prefetches completion responses from sources. Fuzzy still occurs on the first regular trigger, but there is still noticeably less latency.

@stefanboca
Copy link
Collaborator Author

Alternatively, the check for trigger.prefetch could be moved from the trigger show_emitter to the list show_emitter to prefetch results as well as fuzzy ahead of time, although I believe this would only help in the case where a completion is manually triggered directly following an InsertEnter.

@Saghen Saghen merged commit 7e98665 into Saghen:main Dec 12, 2024
@stefanboca stefanboca deleted the stefanboca/push-wurukqxvxpol branch December 12, 2024 06:16
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.

2 participants