From f8327426b27f00fcb3e17fd322cf65eb21274e55 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 9 Jul 2022 11:29:51 -0500 Subject: [PATCH] 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. --- level_0/f_iki/c/iki/common.h | 2 +- level_0/f_memory/c/memory/common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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_ /** -- 1.8.3.1