[RFC] Store all important data in KnitData

John Arbash Meinel john at arbash-meinel.com
Sat Oct 27 00:08:53 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
...

> I'll probably also play with switching from gzip to using straight zlib, which
> should be slightly faster and smaller.
> 
> John
> =:->

I did do this, and it made the conversion a little faster. To convert all of
bzr.dev took 2m40s with gzip, and 2m24s with zlib. Or about 10% faster. Not a
whole lot.
The final conversion was 64MB instead of 65MB. So that is pretty trivial (~1.5%).

I haven't tried to tune it a lot, but ballpark says that it doesn't make a huge
difference. Though since we can't "zcat *.pack" like we could with ".knit" it
doesn't help a lot to use gzip. And it is nice that we have to do a lot less
hackery to get good performance. (tuned_gzip.py took quite a bit of work,
though we've already done it.)

Anyway, something to discuss at least.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHInOFJdeBCYSNAAMRAquAAJ9K6kgSaSrE/vUDE2Hdp+VzTj6IXACeJ3gm
8Vf0qiO4VQSOOzsaavdWBR4=
=Z7Kc
-----END PGP SIGNATURE-----



More information about the bazaar mailing list