Improve performance of bash completion (caching)
Bug #201935 reported by
Daniel Hahler
This bug report is a duplicate of:
Bug #84822: bash completion should use shell-complete.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'll attach a patch, which adds improved performance to bzr's bash completion, by
1. Caching the output of calls to "bzr" (which takes the most time obviously)
2. Removing the use of "sed" (which is only slightly faster, and gets cached together with 1.)
I've just seen bug 84822, which is about using a new bash completion script, based on the output of "bzr shell-complete", which appears to be a far better approach altogether.
So, I will mark this bug as duplicate (for reference) and leave a comment in the other bug about the caching.
To post a comment you must log in.