6 years ago Stefan Sperling
simplify more code which assumed deltas could span mulitple packs
wrap overlong lines
remove unnecessary fdopen()
only search one pack file while resolving deltas
access pack index files with mmap()
don't needlessly copy packidx when caching it
oops, forgot to add this file
speed up got_object_idset_remove_random() by almost 50%
use binary search to find objects in pack index
reduce object cache sizes
fix mem leak introduced with caching: actually close objects
add some disabled refcount debug code
size object caches independently of each other
add a commit cache as well
no need to manually count elements of a set
add a tree object cache to struct got_repository
introduce struct got_object_cache
remove unused field of struct got_objcache_entry
implement repository object cache via object_idset
fix got_object_idset_remove_random() for single-element set
init output param in got_object_idset_remove()
make data output param of got_object_idset_remove_random() optional
allow got_object_idset_remove() to retreive data pointer
fix leak in got_object_idset_remove()
introduce got_object_idset_remove_random()