perf: async parallel cache initialization and remove deepcopy #6
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/blink-cmp-tmux!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "perf/async-init"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
First completion request blocked the UI with three sequential synchronous
vim.system():wait()calls (man page, command names, command list), and every subsequent completion unnecessarily deep-copied the entire cache.Closes #1
Solution
Run all three system calls concurrently via
vim.systemcallbacks, merging results when all complete. Queue pending completion requests during loading. Return cached items directly instead of deep-copying.