Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 taking refuge in the Monastery: (9)
As of 2015-07-08 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls