mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
The function did spend its time re-copying data and searching the end of the read buffer, which is not really efficient. The new code reads directly from file to the end of previous data, avoiding unneccesary duplication, and keeps track of the end of data to avoid searching it for next read. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
39 KiB
39 KiB