6 years ago a70480e0e0 Stefan Sperling
implementation of 'tog blame', not reachable via gui yet
6 years ago 883f046994 Stefan Sperling
make struct got_tree_object opaque
6 years ago b0e2201a54 Stefan Sperling
simplify more code which assumed deltas could span mulitple packs
6 years ago 4984719678 Stefan Sperling
wrap overlong lines
6 years ago 4842267fac Stefan Sperling
remove unnecessary fdopen()
6 years ago 652b2703b3 Stefan Sperling
only search one pack file while resolving deltas
6 years ago 57b35b7557 Stefan Sperling
access pack index files with mmap()
6 years ago 49c99f91a7 Stefan Sperling
don't needlessly copy packidx when caching it
6 years ago e67369ac60 Stefan Sperling
oops, forgot to add this file
6 years ago 2bd394ff92 Stefan Sperling
speed up got_object_idset_remove_random() by almost 50%
6 years ago 40aeb19c85 Stefan Sperling
use binary search to find objects in pack index
6 years ago 0a554478f1 Stefan Sperling
reduce object cache sizes
6 years ago cc538cdd88 Stefan Sperling
fix mem leak introduced with caching: actually close objects
6 years ago cd71782194 Stefan Sperling
add some disabled refcount debug code
6 years ago 4307e57760 Stefan Sperling
size object caches independently of each other
6 years ago 1943de0147 Stefan Sperling
add a commit cache as well
6 years ago a9bf0c2c43 Stefan Sperling
no need to manually count elements of a set
6 years ago f6be5c308a Stefan Sperling
add a tree object cache to struct got_repository
6 years ago 54f20211c5 Stefan Sperling
introduce struct got_object_cache
6 years ago ebfa99d6a2 Stefan Sperling
remove unused field of struct got_objcache_entry
6 years ago 50bc349d77 Stefan Sperling
implement repository object cache via object_idset
6 years ago a2965dbecb Stefan Sperling
fix got_object_idset_remove_random() for single-element set
6 years ago 441e144cdc Stefan Sperling
init output param in got_object_idset_remove()
6 years ago 433eb4d47a Stefan Sperling
make data output param of got_object_idset_remove_random() optional
6 years ago e7c810ea16 Stefan Sperling
allow got_object_idset_remove() to retreive data pointer