[MERGE] binary search for 'date:' revision

Guillaume Pinot guillaume.pinot at tremplin-utc.net
Fri Apr 28 10:01:46 BST 2006


hello.

I've changed the linear search for 'date:' revision to a binary search. It 
speedup commands like "bzr log -r date:yesterday" a lot.

http://wwwlinux.utc.fr/~pinotgui/hack/bzr.dev.gp.binsearch/

revno: 1690
committer: Guillaume Pinot <guillaume.pinot at irccyn.ec-nantes.fr>
branch nick: bzr.dev.gp
timestamp: Fri 2006-04-28 10:50:19 +0200
message:
   Binary search for 'date:' revision.
------------------------------------------------------------
revno: 1689
committer: Guillaume Pinot <guillaume.pinot at irccyn.ec-nantes.fr>
branch nick: bzr.dev.gp
timestamp: Fri 2006-04-28 10:42:31 +0200
message:
   Add a test to bzrlib/tests/test_revisionnamespaces.py for non-existing 
'date:' revision.

Cheers.

-- 
Guillaume Pinot                          http://wwwetu.utc.fr/~pinotgui/

« Le coeur a ses raisons que la raison ne connait pas. » -- Pascal

() Campagne du ruban ascii -- contre les mails en html
/\ Contre les pièces jointes Microsoft


More information about the bazaar mailing list