/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-29 16:15:43 UTC
  • Revision ID: john@arbash-meinel.com-20091029161543-tdqlm2l4e2z5o7le
We don't have to pad 'short' records.

When writing a row, we reserve 120 bytes from the first node so that we
can write our 'B+Tree Graph Index' signature and other meta-information.
For the root node, we don't always use the 120 bytes, and for non-root
rows, we don't use that data at all. So we usually pad back that
record. However, for indexes that fit entirely in the root record,
we don't pad them to 4096, and it turns out we don't need to pad
them with the spare 120 bytes either.

I was doing a test with lots of 'chained' btree indexes, and this
extra padding ended up being 4.6M => 4.3M of wasted space. I imagine
that bzr-search will have a similar issue with tiny indexes.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 4.5 KB Diff Download File
branch.py 4760.1.1 16 years ago Andrew Bennetts Add optional jail_root argument to SmartServerRequ 12.5 KB Diff Download File
bzrdir.py 4634.47.6 16 years ago Andrew Bennetts Give 'no' response for paths outside the root_clie 18.9 KB Diff Download File
client.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 9.3 KB Diff Download File
medium.py 4634.18.2 16 years ago Martin Pool Further until_no_eintr cover is smart.py 34.8 KB Diff Download File
message.py 4634.6.30 16 years ago Andrew Bennetts Remove SmartServerRequest.dispatch_command, fix Sm 13.3 KB Diff Download File
packrepository.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 1.5 KB Diff Download File
protocol.py 4760.1.1 16 years ago Andrew Bennetts Add optional jail_root argument to SmartServerRequ 49.8 KB Diff Download File
repository.py 4634.19.2 16 years ago Robert Collins Review feedback. 31.6 KB Diff Download File
request.py 4760.1.4 16 years ago Andrew Bennetts Make jail_root param of SmartServerRequestHandler 22.7 KB Diff Download File
server.py 4712 16 years ago Canonical.com Patch Queue Manager (mbp) deprecate trace.info, error, show_error 17.9 KB Diff Download File
vfs.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7 KB Diff Download File