shithub: femtolisp

Download patch

ref: 3c4a68e023681288f7808ad585bd817730c8f113
parent: e7b05893fe8529135e7f4ce31f3f8bcaec4746c4
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Nov 4 20:08:26 EST 2024

reduce ios buffer size to 32k

--- a/ios.h
+++ b/ios.h
@@ -15,7 +15,7 @@
 }bufstate_t;
 
 #define IOS_INLSIZE 54
-#define IOS_BUFSIZE 131072
+#define IOS_BUFSIZE 32768
 
 typedef struct {
 	bufmode_t bm;
--- a/iostream.h
+++ b/iostream.h
@@ -1,5 +1,5 @@
 extern fltype_t *iostreamtype;
 
-ios_t * toiostream(value_t v);
+ios_t *toiostream(value_t v);
 value_t stream_to_string(value_t *ps);
 void iostream_init(void);