note
sgifford
<p>Does anybody know why this seems to make a difference? The <tt>print</tt> calls are of fairly short strings, and the filehandle I'm printing to is buffered (<tt>strace</tt> shows that each iteration is generating only one system call). I thought that printing a small string to a buffered filehandle would just append the string to the stdio buffer, which would be as fast as or faster than me buffering myself.
268405
268415