[Melbourne-pm] Timer::HiRes and alarms? (Was: AI Contest)

Mathew Robertson mathew.blair.robertson at gmail.com
Thu Nov 11 04:04:49 PST 2010


On 11 November 2010 22:55, Sam Watkins <sam at nipl.net> wrote:

> > Ahh, good point - the signals may be happening in some other scope.
>
> $| depend on scope, it's a global.  'local' allows to temporarily change a
> global variable, until the 'local' block exits.  I suppose your 'local'
> block
> hasn't exited yet when the signal handler is called, so it shouldn't make
> any
> difference if you use local or not.
>
> It's going to be hard^Wimpossible to get very high scores in perl unless
> you
> use a perl native code compiler or something.  You just don't have the same
> computation capabilities.  Well-written C can be hundreds of times faster,
> and
> there's barely anything that can be done to speed up the perl code.  But
> good
> luck anyway, maybe with a brilliant algorithm can get in the top 100!
>

complete and utter hogwash.

The algorithm is the important part, not the programming language.

Mathew Robertson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20101111/35114900/attachment.html>


More information about the Melbourne-pm mailing list