Commit Diff
- Commit:
4370558fd27a705a699a9ac2fdd27198df5cb5a0- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
- Message:
- bufio: increase default size The default read size from the buffer as set to 128 is low, which can make reading from a buffer take an unnecessarily long time. Increase this to 4096, imsg is fine with messages of that size, and this should improve things like page load times. Fixes #44 OK @op
- Actions:
- Patch | Tree
--- bufio.h +++ bufio.h @@ -25,7 +25,7 @@ struct tls; -#define BIO_CHUNK 128 +#define BIO_CHUNK 4096 struct buf { uint8_t *buf; size_t len;
