6 years ago Stefan Sperling
set obj->size of packed deltified objects to object's actual size
revert the pack file handle cache again; needs more thought
stop opening pack files redundantly to read deltas
use SEEK_SET instead of SEEK_CUR after opening packfile
start caching file handles to packfiles
allow a profiled build with 'make PROFILE=yes'
i committed the profile build stuff again... back it out
avoid an extra memcpy in got_inflate_to_mem()
need to subtract hdrlen from tree data in got_object_tree_open()
avoid a round-trip via tempfile when reading packed commits
rename a function for clarity
avoid a round-trip of data through a temp file when reading trees
These changes enabled profiling.
process small deltas in memory; unfortunately it is not faster...
remove a useless and leaky allocation
In dump_delta_chain(), don't open the packfile if it's not needed.
fix open file handle leak in dump_delta_chain()
propagate error from delta cache insertion; fixes mem leak
add a delta cache; saves us from reading + decompressing some deltas
add a macro for zbuf buffer size
restrict in-memory delta processing to 4MB
process delta chains in memory if max size is < 32 MB
expand deltas in memory if result size is < 32MB
man page wording tweak
wording in man page