Re: NQP JVM prototype faster than Perl 5

2013-02-03 Thread Nicholas Clark
On Sat, Feb 02, 2013 at 06:32:10PM -0800, Matthew Wilson wrote: Did you mean to use $z in the say output of the nqp and perl versions of the microbenchmark, or did you mean to run it twice? I didn't write the nqp microbenchmark, and I simply transcribed it to Perl 5, so it's intentional. I

Re: NQP JVM prototype faster than Perl 5

2013-02-03 Thread Nicholas Clark
On Sun, Feb 03, 2013 at 10:35:12AM +, Nicholas Clark wrote: On Sat, Feb 02, 2013 at 06:32:10PM -0800, Matthew Wilson wrote: Did you mean to use $z in the say output of the nqp and perl versions of the microbenchmark, or did you mean to run it twice? I didn't write the nqp

NQP JVM prototype faster than Perl 5

2013-02-02 Thread Nicholas Clark
This is surprising, interesting and pleasing... There's some example NQP code to time calculating Fibonacci sequences. I've tweaked it a tiny bit to take an optional count on the command line. Unfortunately the NQP JVM prototype doesn't yet set @ARGS, so this isn't that useful. Anyway, the code