Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
The stupid question is the question not asked
 
PerlMonks  

Re: Reminder to self: must use Memoize more often!

by BrowserUk (Pope)
on Jan 12, 2013 at 13:55 UTC ( #1013040=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @fib4_cache;
    sub fib4 {
    ...
    fib3 2073455/s 2338415%     843%       --     -19%
    fib4 2551114/s 2877136%    1060%      23%       --
    
  2. or download this
    
    cmpthese(-1, {
    ...
    fib2  223254/s  255377%       --     -89%     -91%
    fib3 2071504/s 2370384%     828%       --     -20%
    fib4 2579867/s 2952119%    1056%      25%       --
    
  3. or download this
    my @fib5_cache;
    sub fib5 {
    ...
    fib4 2478824/s 2785096%    1035%      23%       --      -2%
    fib5 2537045/s 2850512%    1061%      25%       2%       --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-04-19 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (478 votes), past polls