3 ms·
> GNU grep also tried very hard to set things up so that the kernel could ALSO avoid handling every byte of the input, by using mmap() instead of read() for fil
by weland 13y ago
> GNU grep also tried very hard to set things up so that the kernel could ALSO avoid handling every byte of the input, by using mmap() instead of read() for file input. At the time, using read() caused most Unix versions to do extra copying.
Good luck pulling this off in Chrome.
- jamesaguilar 13y agoWith nacl, you could. But I think you're talking about js, and yeah, you are right.