RFC: change revision serialiser

Robert Collins robertc at robertcollins.net
Thu Aug 14 05:21:01 BST 2008


On Wed, 2008-08-13 at 22:48 -0500, John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Robert Collins wrote:
> > So, thinking about serialisers, it seems trivial to change the revision
> > serialiser to something with less overhead than xml; use use utf8, so
> > surely there is a simple fast utf8 format we can use (perhaps RIO?), we
> > could put that into a development format pretty easily...
> > 
> > -Rob
> 
> Back in the day... rio isn't faster than xml. I think it was faster at some
> bits (writing) but not faster at others (reading, IIRC).
> 
> We really have a quite tweaked system for xml right now, such that at least
> with pure-python it is hard to beat.
...
> It certainly isn't hard to drop something into a new format. I would
> certainly
> also recommend one that splits on newline more. At least, it would
> help our
> line-based delta compression. (certainly if your inventory suggestion
> is
> getting rid of that...)

Well, we don't compress revision texts; so I'm not sure whether that
would help or not. I mainly thought of this because of your comment that
log FILE was slow being due to xml overhead.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080814/457ccb56/attachment.pgp 


More information about the bazaar mailing list