in reply to Re: How to concatenate N binary buffers?
in thread How to concatenate N binary buffers?
It's what I am going to do, but it seemed strange to repeat the syswrite N times, one for each data chunk. I was just wandering if there's a "safe" way to concatenate data (meaning: does the "." operator change the buffers or not?) and then issue just one write (writing a larger chunk should should also optimize I/O).
Another interesting question: is it faster to concat data and then write once, or is it faster to issue one syswrite for each buffer?
I'm afraid I'll have no time to benchmark.
Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How to concatenate N binary buffers?
by afoken (Chancellor) on Nov 14, 2012 at 09:53 UTC | |
by mantager (Sexton) on Nov 16, 2012 at 21:44 UTC | |
Re^3: How to concatenate N binary buffers?
by choroba (Cardinal) on Nov 14, 2012 at 07:57 UTC | |
by mantager (Sexton) on Nov 16, 2012 at 14:45 UTC |
In Section
Seekers of Perl Wisdom