diff options
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 8db8983..9ac3e9b 100644 --- a/config.def.h +++ b/config.def.h @@ -56,6 +56,9 @@ static const bool ALPHA_LAYER = false; * 3 means use 3% of total memory which is about 245MiB on 8GiB machine. * 0 or less means disable cache. * 100 means use all available memory (but not above CACHE_SIZE_LIMIT). + * + * NOTE: higher cache size means better image reloading performance, but also + * higher memory usage. */ static const int CACHE_SIZE_MEM_PERCENTAGE = 3; /* use 3% of total memory for cache */ static const int CACHE_SIZE_LIMIT = 256 * 1024 * 1024; /* but not above 256MiB */ |