[Melbourne-pm] Timer::HiRes and alarms? (Was: AI Contest)
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'
> hasn't exited yet when the signal handler is called, so it shouldn't make
> difference if you use local or not.
> It's going to be hard^Wimpossible to get very high scores in perl unless
> 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,
> there's barely anything that can be done to speed up the perl code. But
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Melbourne-pm