shithub: sl

Download patch

ref: a51c4225b81b7d8b9c75013a51ff35ea0ea6fefe
parent: f8016c10b6b14dd74df40f3d306f025707eec9bd
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);