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 лет назад |
Jelmer Vernooij
|
dbfe286e88
Use stored checksum rather than re-calculating.
|
17 лет назад |
Jelmer Vernooij
|
18fa18c299
Always finish writing to disk before calculating checksum.
|
17 лет назад |
Jelmer Vernooij
|
03fcd66a8c
Fix checksum error message.
|
17 лет назад |
Jelmer Vernooij
|
216403fe65
Split up get_stored_checksums.
|
17 лет назад |
Jelmer Vernooij
|
a182f98130
Improve formatting, docstrings.
|
17 лет назад |