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

Re: [PATCH] Fcntl constants speedup

Thread Previous | Thread Next
Nicholas Clark
December 17, 2000 09:36
Re: [PATCH] Fcntl constants speedup
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About