idiotbox-c

youtube web application in C
git clone git://git.codemadness.org/idiotbox-c
Log | Files | Refs | README | LICENSE

commit bc4e627ab4d967d6021a8188badf4ecb7684d149
parent 512710515bcfd1aea7b10daa87cd60ad20f7d85f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 28 Jun 2018 20:49:18 +0200

use less memory by default

Diffstat:
main.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/main.c b/main.c @@ -870,8 +870,7 @@ parsejson(void) { jsmn_parser p; jsmntok_t *t; - /* TODO: optimize initial token buffer, reuse? */ - int r, tokcount = 1 << 20; /* 1048576 */ + int r, tokcount = 1 << 14; /* 16384 */ jsmn_init(&p);