From 61e745d548c2bd0e0c94fd44631c983e7dfd1383 Mon Sep 17 00:00:00 2001 From: Bob Nystrom Date: Fri, 20 Dec 2013 07:05:13 -0800 Subject: [PATCH] Bump default heap size up. This makes the binary_trees benchmark much faster. --- src/wren_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wren_vm.c b/src/wren_vm.c index 7276a49d..0409bcfd 100644 --- a/src/wren_vm.c +++ b/src/wren_vm.c @@ -23,7 +23,7 @@ WrenVM* wrenNewVM(WrenReallocateFn reallocateFn) vm->bytesAllocated = 0; // TODO: Make this configurable. - vm->nextGC = 1024 * 1024 * 10; + vm->nextGC = 1024 * 1024 * 100; vm->first = NULL; vm->pinned = NULL;