On Sun, 12 Mar 2017 07:27:37 -0700, allber...@gmail.com wrote:
> On Sun, Mar 12, 2017 at 12:48 AM, Lloyd Fournier <lloyd.fo...@gmail.com>
> wrote:
> 
> > perl6-loop: 84.8739988
> > c-loop: 67.65849241 (1.25 times faster)
> > native-loop: 0.4981954 (135.81 times faster)
> >
> 
> Still quite a lot of optimization to be done on that front. WRT native int,
> one of the issues is needing to track when boxing is/isn't needed,
> otherwise nativizing can be a pessimization because of constant reboxing.
> The optimizer isn't up to tracking boxing like that yet.
> 

FWIW.

$ perl6 native-int-perf.p6 
perl6-loop: 117.55178620 
c-loop: 156.7308145 (0.75 times faster)
native-loop: 1.2542871 (124.96 times faster)

$ perl6 --version
This is Rakudo version 2017.10-211-g2f0da94c3 built on MoarVM version 
2017.10-82-ge876f1484

Reply via email to