6 years ago 40426839c0 Stefan Sperling
remove unused argument from get_delta_chain_max_size()
6 years ago c52ac529dc Stefan Sperling
extract objects smaller than DELTA_RESULT_SIZE_CACHED_MAX to memory
6 years ago a53d2f1379 Stefan Sperling
cache delta data in struct got_delta directly
6 years ago 6d89869a98 Stefan Sperling
use cached packfile in open_packed_object()
6 years ago f78ec441a9 Stefan Sperling
fix memleak in test helper function print_tree_object()
6 years ago 18e99ab6a3 Stefan Sperling
fix fd leak in got_object_open()
6 years ago 999f19f65e Stefan Sperling
use cached packfile in resolve_ref_delta()
6 years ago e1ad6ebcf6 Stefan Sperling
remove path_packfile from struct got_delta_cache; add a counter instead
6 years ago f7e127f30c Stefan Sperling
move delta cache into struct got_pack
6 years ago 7e656b930d Stefan Sperling
add struct got_pack; some preparation for mmap, which isn't used yet
6 years ago b29656e27e Stefan Sperling
set obj->size of packed deltified objects to object's actual size
6 years ago 65cf1e8015 Stefan Sperling
revert the pack file handle cache again; needs more thought
6 years ago ef2bccd93f Stefan Sperling
stop opening pack files redundantly to read deltas
6 years ago 6845d28477 Stefan Sperling
use SEEK_SET instead of SEEK_CUR after opening packfile
6 years ago 87c99799b9 Stefan Sperling
start caching file handles to packfiles