From: Kevin Day Date: Sat, 9 Jul 2022 16:29:51 +0000 (-0500) Subject: Update: Further reduce memory allocation pressure by increasing default small allocation. X-Git-Tag: 0.6.0~80 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=f8327426b27f00fcb3e17fd322cf65eb21274e55;p=fll Update: Further reduce memory allocation pressure by increasing default small allocation. Double the default small allocation size from 4 to 8. This accepts the compromise that this will increase the amount of memory used in certain cases. --- diff --git a/level_0/f_iki/c/iki/common.h b/level_0/f_iki/c/iki/common.h index 25c56eb..5fbe2e0 100644 --- a/level_0/f_iki/c/iki/common.h +++ b/level_0/f_iki/c/iki/common.h @@ -437,7 +437,7 @@ extern "C" { */ #ifndef _di_f_iki_default_allocation_step_ #define F_iki_default_allocation_large_d F_memory_default_allocation_large_d - #define F_iki_default_allocation_small_d 4 + #define F_iki_default_allocation_small_d 8 #endif // _di_f_iki_default_allocation_step_ #ifdef __cplusplus diff --git a/level_0/f_memory/c/memory/common.h b/level_0/f_memory/c/memory/common.h index 2bc9bbf..7220413 100644 --- a/level_0/f_memory/c/memory/common.h +++ b/level_0/f_memory/c/memory/common.h @@ -39,7 +39,7 @@ extern "C" { */ #ifndef _di_f_memory_default_allocation_step_ #define F_memory_default_allocation_large_d 64 - #define F_memory_default_allocation_small_d 4 + #define F_memory_default_allocation_small_d 8 #endif // _di_f_memory_default_allocation_step_ /**