commit 9bccfa6390719b00648d07eb4c795e6efa36cf64 from: Stefan Sperling date: Mon Nov 05 14:42:42 2018 UTC reduce cache sizes; less memcmp calls during 'got log PATH' commit - 41fa143713753fc592bd4dcd8894b4de6a5f7350 commit + 9bccfa6390719b00648d07eb4c795e6efa36cf64 blob - 24b34b5a240fdcde737f55f54a4f6755371faffc blob + b38c757a4184424e7d17e112321cd0c665a1fe39 --- lib/object_cache.c +++ lib/object_cache.c @@ -32,9 +32,9 @@ #include "got_lib_object_idcache.h" #include "got_lib_object_cache.h" -#define GOT_OBJECT_CACHE_SIZE_OBJ 1024 +#define GOT_OBJECT_CACHE_SIZE_OBJ 256 #define GOT_OBJECT_CACHE_SIZE_TREE 2048 -#define GOT_OBJECT_CACHE_SIZE_COMMIT 512 +#define GOT_OBJECT_CACHE_SIZE_COMMIT 64 const struct got_error * got_object_cache_init(struct got_object_cache *cache,