develooper Front page | perl.perl5.porters | Postings from December 2000

Re: [PATCH] Fcntl constants speedup

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
December 17, 2000 09:36
Subject:
Re: [PATCH] Fcntl constants speedup
Message ID:
20001217173629.G97668@plum.flirble.org
On Sun, Dec 17, 2000 at 11:27:32AM -0600, Jarkko Hietaniemi wrote:
> Thanks, I need all the possible speedups I can find to pay for my
> regex polymorphism patch :-)

What's the rough cross-platform arm waving speedup/slowdown on the
IV patch? I got [only :-(] 5.4% faster on ARM. And I think about 1%
faster on x86. (for boring standard 32 bit IVs)
pp_divide seems to slow down a lot if given the integer first else FP
treatment, so I've not done that yet (will need to be FP if first operand
is integer and greater than the size NV preserves to make
0xFFFFFFFFFFFFFFFF / 3 work, but needing to even have that code can be
conditionally compiled in)

I've not touched pp_modulo (yet)
Simon's profiles seemed to show it taking a very long time, so it appears
there's something really bad happening there. Did anyone have any idea
why it seemed to be so slow?

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About