From 02bad8bcd1e5753ed256d0899ea8945c3b810623 Mon Sep 17 00:00:00 2001 From: Raezroth <47491977+Raezroth@users.noreply.github.com> Date: Sat, 18 Nov 2023 00:14:05 -0800 Subject: Change blokc size to 64kb (#1071) This gives a slight performance increase to applications like Steam on devices with only 4GB ram --- src/custommem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/custommem.c b/src/custommem.c index c5923013..1a729fe9 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -103,7 +103,7 @@ typedef struct blocklist_s { void* first; } blocklist_t; -#define MMAPSIZE (256*1024) // allocate 256kb sized blocks +#define MMAPSIZE (64*1024) // allocate 64b sized blocks static int n_blocks = 0; // number of blocks for custom malloc static int c_blocks = 0; // capacity of blocks for custom malloc -- cgit 1.4.1