Hi all,
i'm curious what happens here. If I make a recursive funtion inlined, it runs way faster?
Ackerman-test results:
$ ppc386 -O3p3r -dRecursiveInline ackerman.pp && cpu/bin/timeit /home/joost/src/ackerman 10 Ack(3,10): 8189
Execution took 395377 microseconds.
$ ppc386 -O3p3r ackerman.pp && cpu/bin/timeit /home/joost/src/ackerman 10 Ack(3,10): 8189
Execution took 568076 microseconds.
Am I the only one with this speed-gain, and where does it come from?
Met vriendelijke groeten,
Joost van der Sluis
CNOC Informatiesystemen en Netwerken
http://www.cnoc.nl
