~ chicken-core (chicken-5) 97e15fe188a20ca065518de6695594c20b227605
commit 97e15fe188a20ca065518de6695594c20b227605 Author: Evan Hanson <evhan@foldling.org> AuthorDate: Mon Sep 5 22:54:31 2016 +1200 Commit: Evan Hanson <evhan@foldling.org> CommitDate: Sat Sep 10 22:58:54 2016 +1200 Drop initial temp stack size to 256 words The vast majority of programs won't need more than this, so reduce the starting size to avoid paying more in memory than is typically required. diff --git a/runtime.c b/runtime.c index 5c2eab57..fea87140 100644 --- a/runtime.c +++ b/runtime.c @@ -173,7 +173,7 @@ static C_TLS int timezone; #define WEAK_COUNTER_MASK 3 #define WEAK_COUNTER_MAX 2 -#define DEFAULT_TEMPORARY_STACK_SIZE 1024 +#define DEFAULT_TEMPORARY_STACK_SIZE 256 #define STRING_BUFFER_SIZE 4096 #define DEFAULT_MUTATION_STACK_SIZE 1024 #define PROFILE_TABLE_SIZE 1024Trap