Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Speed/Efficiency tweaks for a fannkuch benchmark script?

by robin (Chaplain)
on Dec 01, 2005 at 23:35 UTC ( #513483=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub fannkuch {
        my ( $a, $level, $split ) = ( @_, 0, 1 );
    ...
        } while $index--;
        return $maxflips;
    }
    
  2. or download this
    [rpc142: /tmp]$ diff --side-by-side -W 80 fann-char-orig.out fann-char
    +.out
    Pfannkuchen(1) = 0 for:                 Pfannkuchen(1) = 0 for:
    ...
    Pfannkuchen(10) = 38 for:               Pfannkuchen(10) = 38 for:
    59186210473                             59186210473
    58.118665 elapsed seconds.            | 54.24672 elapsed seconds.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2022-12-06 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?