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.
In Section
Seekers of Perl Wisdom