summaryrefslogtreecommitdiff
path: root/db/git.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved partial_to_complete_sha_hex from gitdb to compounddb, its fitting ↵Sebastian Thiel2010-07-071-56/+0
| | | | there better
* Added method to obtain a full sha from a partial sha, for each of the ↵Sebastian Thiel2010-07-071-1/+64
| | | | databases. The IndexFile has a new method to retrieve an index from a partial sha, instead of from a full sha, to provide the required functionality
* CompoundDB: implemented simple dict base first-level cache which really ↵Sebastian Thiel2010-06-251-2/+3
| | | | | | | helps to improve performance in real-world applications, which need to quickly determine whether objects are in or out for instance, as it happens during index_to_tree conversion Added separate pack streaming test which shows only a throughput of 250 streams / s in a densely packed pack, and about 3.5 MiB of data throughput. Performance tests show that half the time is spent in collecting the numerous deltas, the other one in decompressing and applying them Fixed broken performance tests
* Implemented gitdb, it should be a fully functional git database with full ↵Sebastian Thiel2010-06-201-6/+30
| | | | read support, and the ability to write loose objects
* Base implementation and stubs added for git-like db, as well as the ↵Sebastian Thiel2010-06-181-26/+42
| | | | reference db ( for the alternates implementation )
* moved all info and stream base classes into new module, base, as well as the ↵Sebastian Thiel2010-06-161-1/+1
| | | | | | | respective tests were moved to test_base Adjusted PackStream and PackInfo classes not to contain the sha field anymore streams: DecompressMemMapReader now parses its header on demand if it is not set, using the mose useful 3 lines ever, LazyMixin
* Made the db module a package to have enough room for expansionSebastian Thiel2010-06-141-0/+33