1
0
mirror of https://github.com/adtools/clib2.git synced 2026-05-09 06:35:02 +00:00
Files
amiga-clib2/library
obarthel ae13cd77fc Optimizations for better read performance.
If the buffer mode is set to "no buffering" then fread() will always bypass the buffer and call read() instead.

If there is enough data waiting to be read from the buffer, fread() will now copy it directly, refilling the buffer as needed.

If the read buffer happens to be empty, buffering is enabled for the stream, and the number of bytes to read is at least as large as the buffer size,  then fread() will directly call read(), which should improve performance significantly.
2019-08-24 13:53:48 +02:00
..
2018-04-22 11:21:24 +02:00
2018-04-22 11:21:24 +02:00