Y
Hacker News
new
|
ask
|
show
|
jobs
by
pskocik
3377 days ago
I once benchmarked reads with `mmap` vs `read` (
http://stackoverflow.com/a/39196499/1084774
) . mmap starts winning big time once the file is >= 16KiB. Copying should have similar performance characteristics.