Comment

Comment by JoshTriplett

I'd be interested to see how this compares to 1) mmapping both files and using memcpy, 2) mmaping the source and making a single call to write passing the whole buffer, and 3) copy_file_range.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton