3 ms·
(author here) Hey, that's actually a great idea. I remember reading about a fast grep or wc implementation that did parallel reads. Off the top of my head, I d
by genericlemon24 4y ago
(author here) Hey, that's actually a great idea. I remember reading about a fast grep or wc implementation that did parallel reads.
Off the top of my head, I don't really know how to do that (aside from the naive way of using threads), I'm guessing readv[1] might be be useful? Will definitely look into it.
[1]: https://linux.die.net/man/2/readv https://linux.die.net/man/2/readv