Karol Kosek
484f6a7cfa
LibCore: Buffer small byte reads
...
Prior this change, if you had a program which frequently reads small
amount of bytes, then it would constantly fire up syscalls.
This patch sets that the minimum size that is passed to the read syscall
is 1024 and then it saves these additional bytes in a buffer for next
reads, which greatly improves the cpu usage on such cases.
In other words: reading flacs is now very efficient.
2021-09-27 16:31:28 +02:00
..
2021-09-12 16:36:52 +02:00
2021-09-12 16:36:52 +02:00
2021-08-01 08:10:16 +02:00
2021-07-07 18:02:43 +02:00
2021-09-11 15:16:26 +01:00
2021-08-15 01:22:45 +02:00
2021-09-12 16:36:52 +02:00
2021-08-01 08:10:16 +02:00
2021-08-24 18:17:09 +02:00
2021-08-22 01:32:25 +02:00
2021-08-19 19:15:00 +01:00
2021-08-19 19:15:00 +01:00
2021-09-02 03:47:47 +04:30
2021-07-03 16:43:08 +02:00
2021-09-12 17:24:44 +00:00
2021-09-12 17:24:44 +00:00
2021-09-02 03:47:47 +04:30
2021-09-25 19:32:14 +02:00
2021-09-25 19:32:14 +02:00
2021-09-12 04:58:22 +00:00
2021-08-20 15:31:46 +02:00
2021-08-20 15:31:46 +02:00
2021-08-01 08:10:16 +02:00
2021-09-02 03:47:47 +04:30
2021-09-12 16:36:52 +02:00
2021-09-12 16:36:52 +02:00
2021-09-27 16:31:28 +02:00
2021-09-27 16:31:28 +02:00
2021-09-12 18:31:10 +02:00
2021-07-01 17:49:18 +02:00
2021-07-01 17:49:18 +02:00
2021-09-01 11:37:25 +04:30
2021-09-01 11:37:25 +04:30
2021-09-19 21:10:23 +04:30
2021-09-19 21:10:23 +04:30
2021-08-01 08:10:16 +02:00
2021-09-10 18:05:46 +03:00
2021-09-10 18:05:46 +03:00
2021-08-06 01:29:09 +02:00
2021-08-06 01:04:11 +02:00
2021-07-18 22:08:26 +02:00
2021-07-18 22:08:26 +02:00
2021-07-15 11:11:14 +02:00
2021-09-13 20:51:50 +00:00
2021-09-12 16:36:52 +02:00
2021-09-19 21:10:23 +04:30
2021-08-13 20:30:19 +04:30
2021-09-06 01:53:26 +02:00
2021-09-02 16:17:18 +01:00
2021-09-02 16:17:18 +01:00