/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to notes/git-serve.txt

  • Committer: John Arbash Meinel
  • Date: 2008-12-09 21:35:49 UTC
  • mto: This revision was merged to the branch mainline in revision 3888.
  • Revision ID: john@arbash-meinel.com-20081209213549-yc1mqv3l5gun9c63
Start working on a FIFOCache.

This is designed to have less runtime cost than the LRUCache.
Mostly because we don't have to do any recording work on *access*
only on update or delete.
As such, we subclass dict directly, because experiments show that
it performed the best. Unfortunately, even though we don't have
a custom __getitem__ implementation, it is still approx 2x slower
than using a raw dict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Git serve
2
 
 
3
 
Todo:
4
 
 
5
 
 * Fix the pack creation code in Dulwich. It doesn't generate deltas quite 
6
 
   well at the moment.
7
 
 
8
 
 * Switch to the new pack-based format once John's work on PackCollections 
9
 
   is finished. This should give very nice performance improvements, 
10
 
   in particular the caching of Trees.
11
 
 
12
 
 * Support using the cached trees in BazaarObjectStore.generate_pack_contents,
13
 
   rather than calling out to _revision_to_objects as the latter is slow
14
 
   (it uses inventories).
15
 
 
16
 
 * Support roundtripping