Hello Andrius, I think it is worth measuring it, but anyway my answer will be - most likely it is significantly slower, than just reading stuff in a chunks. If you'd be able to come up with some benchmarks proving that I'm wrong - we'll certainly consider implementing it.
Cheers, Fedor. On Thu, May 29, 2014 at 9:55 PM, Andrius Bentkus <[email protected]> wrote: > Why are we not using the ioctl function to check how much there is on the > socket in order to give a precise size? > Is the systemcall too much overhead? > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/libuv. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
