shithub: sl

Download patch

ref: ade26ce58d539f015dc95224784a1a78136ba102
parent: 68bfda319b3bc1c9a41c2ceace296a5d30565bf9
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Nov 26 15:54:36 EST 2024

start with a much smaller initial stack size

--- a/flisp.c
+++ b/flisp.c
@@ -2132,7 +2132,7 @@
 	FL(consflags) = bitvector_new(FL(heapsize)/sizeof(cons_t), 1);
 	htable_new(&FL(printconses), 32);
 	comparehash_init();
-	FL(nstack) = 262144;
+	FL(nstack) = 4096;
 	FL(stack) = MEM_ALLOC(FL(nstack)*sizeof(value_t));
 
 	FL(Nil) = builtin(OP_THE_EMPTY_LIST);