Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: Behold! The power of recursion.

by tachyon (Chancellor)
on Oct 18, 2004 at 04:10 UTC ( #400053=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    Benchmark: timing 1000000 iterations of iterative_c, iterative_p, recu
    +rsive_c, recursive_p...
    iterative_c:  1 wallclock secs ( 1.10 usr +  0.00 sys =  1.10 CPU) @ 9
    +07441.02/s (n=1000000)
    iterative_p  51235/s         86%          --        -94%        -94%
    recursive_c 860585/s       3021%       1580%          --         -5%
    iterative_c 907441/s       3191%       1671%          5%          --
  2. or download this
    use Inline 'C';

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://400053]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2016-02-09 21:46 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (326 votes), past polls