On 28/04/2013, at 23:15, Fedor Indutny wrote:

> libuv has started doing it automatically recently.

Awesome :-)

One more thing: OSX would benefit *a* *lot* more than anybody else of an 
fs.writev() due to the mutex in write()s due to the concurrent write()s bug 
(has anybody checked if it's been fixed already? Last time I checked it was... 
~ 3 years ago, in Snow Leopard!).

That 20..25% speedup figure is very likely only good for OSX, and that mutex is 
very likely the culprit.

Are you going to implement an fs.writev(), or just a writev() for sockets?

WRT to the API: Perhaps it shouldn't accept strings/encodings, just buffers:

writev(buffer [, buffer...] [, cb]);

The user can convert his strings to buffers quite easily already.

Cheers,
-- 
( Jorge )();

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to