From 2c94aa1a6a919b04518c3eef633851ebb8b4c18c Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 23 Dec 2018 23:38:49 -0500 Subject: [PATCH] Update min fiber size. --- src/core/fiber.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/fiber.c b/src/core/fiber.c index f8f5e023..0effde74 100644 --- a/src/core/fiber.c +++ b/src/core/fiber.c @@ -28,8 +28,8 @@ static JanetFiber *make_fiber(int32_t capacity) { Janet *data; JanetFiber *fiber = janet_gcalloc(JANET_MEMORY_FIBER, sizeof(JanetFiber)); - if (capacity < 16) { - capacity = 16; + if (capacity < 32) { + capacity = 32; } fiber->capacity = capacity; data = malloc(sizeof(Janet) * capacity);