
7 Mar
2011
7 Mar
'11
3:19 a.m.
On March 5, 2011 07:30:24 wren ng thornton wrote:
P.S., what the heck is readv(2) supposed to be good for? Does anyone want to see a binding for it?
Strikes me as something you might want to use in code that is orientated towards working with chunks of data of a possibly fixed maximum size (i.e., a chunk orientated steaming environment). The readv call gives you the ability to fill a series of chunks (e.g., from a free chunk list or something) with one call into the kernel. This could be a significant improvement from being forced to fill them individually. Cheers! -Tyson