Commit Briefs

79c99a64af Stefan Sperling

don't leak objects which can't be cached


01cd76145e Stefan Sperling

add cache debug output for too large elements


a60c9e772e Stefan Sperling

don't cache objects larger than 1MB


2ee32b237b Stefan Sperling

fix build with -DGOT_OBJ_CACHE_DEBUG


638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


230a42bdc6 joshua stein

got_error_from_errno -> got_error_prefix_errno

also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)



cb103d042c Stefan Sperling

allow got_object_idset_for_each() to return an error


f054b67ad0 Stefan Sperling

remove object_idcache; use object_idset instead


507aef8f8e Stefan Sperling

no need to zero object cache entries during allocation


d83eb5cd1c Stefan Sperling

make id cache eviction more efficient



9185b86391 Stefan Sperling

tree cache size can be reduced without harmful effects





05e1230b0e Stefan Sperling

rename got_commit_object_mini to got_mini_commit_object


e32baab7e1 Stefan Sperling

add an object cache for mini commits



221e79cddd Stefan Sperling

count object cache searches


f4081577c6 Stefan Sperling

add a Makefile.inc knob which enables cache debug output


7cf5e9c21a Stefan Sperling

show process name in cache stats debug output


315fa2b2ac Stefan Sperling

count cache eviction events in cache debug stats



6bef87be90 Stefan Sperling

move object cache out of repository.c to its own file