/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: John Arbash Meinel
  • Date: 2009-10-17 04:43:14 UTC
  • Revision ID: john@arbash-meinel.com-20091017044314-nlvrrqnz0f2wzcp4
change the GroupcompressBlock code a bit.
If the first decompress request is big enough, just decompress everything.
And when we do that, let go of the decompressobj.

After digging through the zlib code, it looks like 1 zlib stream object
contains a 5kB internal state, and another 4*64kB buffers. (about 260kB
of total state.)
That turns out to be quite a lot if you think about it.


In the case of branching a copy of 'bzr.dev' locally, this turned out
to be 383MB w/ bzr.dev and 345MB w/ only this patch. (So ~11% of peak).

Also, this was 'unreferenced' memory, because it is hidden in the
zlib internal state in working buffers. So it wasn't memory that Meliae
could find. \o/.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4511.1.1 16 years ago Alexander Belchenko launchpad plugin: import webbrowse should be expli 11.3 KB Diff Download File
account.py 4304.2.1 16 years ago Vincent Ladeuil Fix bug #367726 by reverting some default user han 3.3 KB Diff Download File
lp_directory.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.1 KB Diff Download File
lp_registration.py 4505.4.1 16 years ago Jonathan Lange Trap gaierror and reraise appropriate ConnectionEr 11.5 KB Diff Download File
test_account.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 5.2 KB Diff Download File
test_lp_directory.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 8.1 KB Diff Download File
test_lp_login.py 4505.1.4 16 years ago Jonathan Lange Use 'foo', not 'jml' 2.5 KB Diff Download File
test_lp_open.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 3.6 KB Diff Download File
test_lp_service.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7.7 KB Diff Download File
test_register.py 4360.5.4 16 years ago Robert J. Tanner Merge 1.15.1 back to trunk 13.8 KB Diff Download File