bug? find_branches or find_bzrdir tries to open all files as bzr locations

Alexander Belchenko bialix at ukr.net
Thu May 19 13:11:51 UTC 2011


Aaron Bentley пишет:
> On 11-05-18 05:25 AM, Alexander Belchenko wrote:
>> bzr colo-branches           ~1.7 sec
>> bzr find-branches --native  ~6   sec   (the same for bzr branches)
>> bzr find-branches --custom  ~1.6 sec
>>
>> Note that colo-branches is only looking for branches inside .bzr/branches.
>>
>> So, if I did something wrong I'd like to know what I did wrong.
> 
> You are comparing your optimised code against code that hasn't been
> optimised.  So it proves that your strategy would be an improvement
> compared to the current, unoptimised code, but it doesn't prove that it
> would be a win compared with optimising the current strategy.

What kind of optimization do you have in mind?



More information about the bazaar mailing list