Improve performance of bash completion (caching)

Bug #201935 reported by Daniel Hahler
2
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.

Revision history for this message
Daniel Hahler (blueyed) wrote :
Changed in bzr:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.