From c799eb2706de2c77aa1b044c270b75786c04d715 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 28 Apr 2024 23:29:50 +0530 Subject: [PATCH] Adjust DARR_REALLOC_MULT --- lib/darr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/darr.h b/lib/darr.h index 159f035..c7a04ae 100644 --- a/lib/darr.h +++ b/lib/darr.h @@ -35,7 +35,7 @@ typedef struct /* Some useful constants for dynamic array work. */ #define DARR_DEFAULT_SIZE 8 -#define DARR_REALLOC_MULT 1.5 +#define DARR_REALLOC_MULT 2 /** @brief Get the `IND`th item of type `TYPE` in `DARR_DATA`