mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
Compute the final file size and ftruncate() the destination file to the right size immediately instead of incrementally appending to it. This kind of optimization belongs in the kernel, but until we have it there, this makes saving text files a whole lot faster. :^)