/brz/remove-bazaar

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

  • Committer: John Arbash Meinel
  • Date: 2008-12-08 18:23:00 UTC
  • mto: (3882.6.2 xml_cache)
  • Revision ID: john@arbash-meinel.com-20081208182300-u1qmnxafwt2rr5dz
Add LRUCache.resize(), and change the init arguments for LRUCache.

The old name was a bit confusing, and caused LRUSizeCache to re-use variables in
a confusing way with LRUCache.


Also, this changes the default cleanup size to be 80% of max_size. This should
be better, as it means we get a little bit of room when adding keys,
rather than having to cleanup after every add, we can instead do it in
batches.
Filename Latest Rev Last Changed Committer Comment Size
..
configobj 1185.12.49 19 years ago Aaron Bentley Switched to ConfigObj Diff
effbot 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
elementtree 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
tests 2613.1.2 18 years ago Martin Pool Move bencode tests into util.tests Diff
__init__.py 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Empty Diff Download File
bencode.py 2613.1.1 18 years ago Martin Pool Move bencode tests from within their module into o 3.8 KB Diff Download File
simplemapi.py 2681.3.6 18 years ago Lukáš Lalinsky New version of simplemapi.py with MIT license. 8.2 KB Diff Download File