[Melbourne-pm] and the winner is C! (so far anyway, no big surprise)

Alfie John alfiejohn at gmail.com
Fri May 21 03:39:14 PDT 2010

On Fri, May 21, 2010 at 7:21 PM, Toby Corkindale <
toby.corkindale at strategicdata.com.au> wrote:

> curiously, I've made the Perl version use buffered IO and it seems to be
> (very very slightly) slower than the original, not faster! How odd.
> I'm doing:
> my $output = IO::Handle->new->fdopen(fileno(STDOUT), 'w');
> $output->autoflush(0);
> ...
> $outout->printf(...)
> ...
> $output->close;
> Does that seem right to everyone else?

Could it be because you're using the OO version? Strip out IO::Handle and
autoflush by hand.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20100521/6447f853/attachment.html>

More information about the Melbourne-pm mailing list