in reply to Re: Re: Optimizing the bejeezus out of a sub
in thread Optimizing the bejeezus out of a sub
Does anybody know why this seems to make a difference? The print calls are of fairly short strings, and the filehandle I'm printing to is buffered (strace 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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Optimizing the bejeezus out of a sub
by ant9000 (Monk) on Jun 25, 2003 at 08:33 UTC | |
by sgifford (Prior) on Jun 25, 2003 at 16:50 UTC | |
Re: Re: Re: Re: Optimizing the bejeezus out of a sub
by Elian (Parson) on Jun 24, 2003 at 19:17 UTC |
In Section
Seekers of Perl Wisdom