Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-09-02 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (21 votes), past polls