reader.pipe(writer1); 
    reader.pipe(writer2);

Hmm, it looks like a magic, looks simple, but actually it's not simple, 
there are complex hidden machinery behind the scene. And it's impossible to 
know from that code what exactly those machinery does. 

Will be data from the reader keept in two independent buffers, or in one, 
will it pause if one writer consumes faster than another or continue read 
and keep it in memory an so on.

I believe it would be better to use maybe not so compact but more 
straightforward code without hidden magic.

-- 
-- 
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