Prokop Randacek 6fb23542fe Buffer the logging function
The default logging function used to have no buffer. So a single log
statement could result in many individual write syscalls each writing
only a couple of bytes.

After this change the logging function now has a 4kb buffer. Only log
statements longer than 4kb now do multiple write syscalls.

4kb is the default bufferedWriter size and was choosen arbitrarily.

The downside of this is that the log function now allocates 4kb more
stack space but I think that is an acceptable trade-off.
2024-02-09 14:02:57 -08:00
..
2024-02-06 22:06:01 -07:00
2024-01-29 14:30:23 -08:00
2024-02-01 15:22:36 +02:00
2024-01-13 19:37:33 -07:00
2024-02-01 15:22:36 +02:00
2023-11-22 13:24:27 -05:00
2023-11-22 19:08:55 -07:00
2024-02-06 22:06:01 -07:00
2024-01-29 14:30:23 -08:00
2023-10-23 22:42:18 -04:00
2023-11-09 17:41:14 +01:00
2024-02-01 15:22:36 +02:00
2024-02-05 11:55:14 +03:30
2023-10-25 04:28:30 -04:00
2024-02-09 14:02:57 -08:00
2024-01-24 12:48:12 +01:00
2024-01-14 20:45:39 -05:00
2024-02-01 15:22:36 +02:00
2023-11-03 23:18:21 -04:00
2024-02-01 15:22:36 +02:00
2024-02-07 12:41:40 +02:00
2024-02-08 15:39:28 +01:00
2024-02-05 11:55:14 +03:30
2024-02-01 15:22:36 +02:00
2023-10-21 21:24:55 +00:00