Hacker News new | ask | show | jobs
by jhatemyjob 1179 days ago
If you read a file with malloc and memcpy, it copies the data from the kernel to userspace. With mmap there is no copying.