Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Behold! The power of recursion.

by tachyon (Chancellor)
on Oct 18, 2004 at 04:10 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://400053]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-03-30 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found