Patrick R. Michaud wrote:
On Wed, Nov 17, 2004 at 10:03:14PM +0100, Leopold Toetsch wrote:

[EMAIL PROTECTED] pmichaud]$ parrot pmfact.imc     #PIR
500500
5.819842
[EMAIL PROTECTED] pmichaud]$ parrot pmfactbsr.imc  #bsr/ret
500500
2.010935

Ok:

$ parrot pmfactbsr.imc
500500
3.459947

$ parrot -Oc pmfact.imc
500500
1.237185

Now what ;)

Are you sure, that you can't do a tailcall sometimes? What about calling back into PIR code?

Please no premature optimizations.

Please keep in mind that I'm a newcomer to Parrot, so it's entirely
possible that I'm made some invalid assumptions in my code that skew
these results (and I'll freely admit them if pointed out).

I've first to understand the generated rules engine a bit. But generally speaking: let's first do it right and then fast.


And I will admit that the PIR code is still impressive speed-wise
relative to what it is doing, but it's hard to ignore a 60% improvement.

Or more ...

Pm

leo



Reply via email to