Merge lp:~spiv/bzr/faster-branch-open into lp:bzr
Proposed by
Andrew Bennetts
Status: | Merged |
---|---|
Approved by: | Andrew Bennetts |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5999 |
Proposed branch: | lp:~spiv/bzr/faster-branch-open |
Merge into: | lp:bzr |
Diff against target: |
29 lines (+8/-1) 2 files modified
bzrlib/branch.py (+5/-1) doc/en/release-notes/bzr-2.4.txt (+3/-0) |
To merge this branch: | bzr merge lp:~spiv/bzr/faster-branch-open |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrew Bennetts | Approve | ||
Review via email: mp+66165@code.launchpad.net |
Commit message
Make Branch.open more than 3x faster.
Description of the change
This patch serves two purposes:
1) It makes Branch.open over 3x faster (it drops from ~6.5ms to 2ms in my testing of opening a local copy of lp's trunk)
2) It will make Vincent pull a funny face.
To post a comment you must log in.
On 28/06/11 17:18, Andrew Bennetts wrote: /code.launchpad .net/~spiv/ bzr/faster- branch- open/+merge/ 66165
> For more details, see:
> https:/
>
> This patch serves two purposes:
>
> 1) It makes Branch.open over 3x faster (it drops from ~6.5ms to 2ms in my testing of opening a local copy of lp's trunk)
> 2) It will make Vincent pull a funny face.
>
I'm not sure about 1), but 2) is definitely worthwhile.
Jelmer