Jelmer Vernooij
|
fcf383bdad
Add (optional!) C implementations of hex_to_sha and sha_to_hex.
|
пре 16 година |
Jelmer Vernooij
|
b22e05ec67
There are no thin packs in the objects/ directory usually, so don't look in other packs.
|
пре 16 година |
Jelmer Vernooij
|
d374936cde
Only determine hexsha when really necessary.
|
пре 16 година |
Jelmer Vernooij
|
623bf1c987
Avoid converting back and forth between hex and sha for every pack.
|
пре 16 година |
Jelmer Vernooij
|
597fd49d12
Remove non-hex character.
|
пре 16 година |
Jelmer Vernooij
|
94fb7f2a54
Remove duplicate check for sha files.
|
пре 16 година |
Jelmer Vernooij
|
96001436b5
Make hex/sha functions a bit faster.
|
пре 16 година |
Jelmer Vernooij
|
ac8a5aab46
Remove useless whitespace.
|
пре 16 година |
Jelmer Vernooij
|
2018d8c6a3
avoid using struct unpack
|
пре 16 година |
Jelmer Vernooij
|
3704af5cdc
Simplify delta apply function a bit; remove nested pop() function.
|
пре 16 година |
Jelmer Vernooij
|
7920d62bc5
Pass offsets rather than wrapping (and slowing down) mmap.
|
пре 16 година |
Jelmer Vernooij
|
a898e40adc
Allow specifying offset to unpack_object.
|
пре 16 година |
Jelmer Vernooij
|
86074766c5
Remove pointless size checks on every access of packs.
|
пре 16 година |
Jelmer Vernooij
|
87269e0ed6
Merge performance improvements.
|
пре 16 година |
Jelmer Vernooij
|
c5e578de19
Skip useless lookup.
|
пре 16 година |
Jelmer Vernooij
|
5eab0eaf52
Make checking for objects present a bit faster.
|
пре 16 година |
Jelmer Vernooij
|
04e9819075
Make object iterator lazy.
|
пре 16 година |
Jelmer Vernooij
|
9e24871f50
Actually use the offset cache.
|
пре 16 година |
Jelmer Vernooij
|
d7eee19158
Remove local caching.
|
пре 16 година |
Jelmer Vernooij
|
a0ce7ca835
Add LRU cache for objects at offsets.
|
пре 16 година |
Jelmer Vernooij
|
b08a2f3d7a
Move resolve_object into PackData.
|
пре 16 година |
Jelmer Vernooij
|
eeaaa652fe
Fix test.
|
пре 16 година |
Jelmer Vernooij
|
1f82f50332
Add some docstrings.
|
пре 16 година |
Jelmer Vernooij
|
f99649c01b
Add docstrings, only determine pack directory once.
|
пре 16 година |
Jelmer Vernooij
|
8c226a0afe
Merge formatting fix.
|
пре 16 година |
Jelmer Vernooij
|
f2023a22d8
Fix formatting to use 4-character indentation.
|
пре 16 година |
Jelmer Vernooij
|
aa596748f9
Close ref file after writing to it.
|
пре 16 година |
Jelmer Vernooij
|
31ee91c443
Add iterating object finder.
|
пре 16 година |
Jelmer Vernooij
|
a2e76a586d
Mac OS X doesn't have os.fdatasync, use os.fsync instead.
|
пре 16 година |
Jelmer Vernooij
|
200721ba8a
Fix crc32 checksums stored in indexes.
|
пре 16 година |