From da091e250cae2c7ded4577c8c2e470c4dd0d3487 Mon Sep 17 00:00:00 2001 From: underscorediscovery Date: Sat, 11 Jul 2020 11:34:35 -0700 Subject: [PATCH] set WREN_MAX_TEMP_ROOTS default to 8 instead of 5 that's 64 bytes, fits nicely in a cache line and isn't _as_ arbitrary. --- src/vm/wren_vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/wren_vm.h b/src/vm/wren_vm.h index ad91c096..46bbc544 100644 --- a/src/vm/wren_vm.h +++ b/src/vm/wren_vm.h @@ -8,7 +8,7 @@ // The maximum number of temporary objects that can be made visible to the GC // at one time. -#define WREN_MAX_TEMP_ROOTS 5 +#define WREN_MAX_TEMP_ROOTS 8 typedef enum {