Jelmer Vernooij
|
e9679fe4e2
Add (optional!) C implementations of hex_to_sha and sha_to_hex.
|
17 سال پیش |
Jelmer Vernooij
|
dc60b40912
There are no thin packs in the objects/ directory usually, so don't look in other packs.
|
17 سال پیش |
Jelmer Vernooij
|
cbd594a47d
Only determine hexsha when really necessary.
|
17 سال پیش |
Jelmer Vernooij
|
a3a2662007
Avoid converting back and forth between hex and sha for every pack.
|
17 سال پیش |
Jelmer Vernooij
|
a1e2e3b985
Remove non-hex character.
|
17 سال پیش |
Jelmer Vernooij
|
6abe267eae
Remove duplicate check for sha files.
|
17 سال پیش |
Jelmer Vernooij
|
209d461499
Make hex/sha functions a bit faster.
|
17 سال پیش |
Jelmer Vernooij
|
87d4657046
Remove useless whitespace.
|
17 سال پیش |
Jelmer Vernooij
|
4168bda1e8
avoid using struct unpack
|
17 سال پیش |
Jelmer Vernooij
|
156cb98846
Simplify delta apply function a bit; remove nested pop() function.
|
17 سال پیش |
Jelmer Vernooij
|
f880152299
Pass offsets rather than wrapping (and slowing down) mmap.
|
17 سال پیش |
Jelmer Vernooij
|
649b1d3b40
Allow specifying offset to unpack_object.
|
17 سال پیش |
Jelmer Vernooij
|
4427dce4d2
Remove pointless size checks on every access of packs.
|
17 سال پیش |
Jelmer Vernooij
|
9de9261978
Merge performance improvements.
|
17 سال پیش |
Jelmer Vernooij
|
6148fa0cf1
Skip useless lookup.
|
17 سال پیش |
Jelmer Vernooij
|
233e0b5748
Make checking for objects present a bit faster.
|
17 سال پیش |
Jelmer Vernooij
|
cefbd86dbf
Make object iterator lazy.
|
17 سال پیش |
Jelmer Vernooij
|
e0335de2f7
Actually use the offset cache.
|
17 سال پیش |
Jelmer Vernooij
|
6e637a3294
Remove local caching.
|
17 سال پیش |
Jelmer Vernooij
|
e4a66a3ff9
Add LRU cache for objects at offsets.
|
17 سال پیش |
Jelmer Vernooij
|
248c9898d5
Move resolve_object into PackData.
|
17 سال پیش |
Jelmer Vernooij
|
9f9f0b8d7c
Fix test.
|
17 سال پیش |
Jelmer Vernooij
|
41c383bef3
Add some docstrings.
|
17 سال پیش |
Jelmer Vernooij
|
8c3bb13df0
Add docstrings, only determine pack directory once.
|
17 سال پیش |
Jelmer Vernooij
|
21dd2a2aef
Merge formatting fix.
|
17 سال پیش |
Jelmer Vernooij
|
131631ef07
Fix formatting to use 4-character indentation.
|
17 سال پیش |
Jelmer Vernooij
|
2b852774cc
Close ref file after writing to it.
|
17 سال پیش |
Jelmer Vernooij
|
310ca3d785
Add iterating object finder.
|
17 سال پیش |
Jelmer Vernooij
|
47dd30f653
Mac OS X doesn't have os.fdatasync, use os.fsync instead.
|
17 سال پیش |
Jelmer Vernooij
|
826d922b09
Fix crc32 checksums stored in indexes.
|
17 سال پیش |