Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Sheer idle curiousity . . .

by ikegami (Pope)
on Oct 25, 2013 at 14:50 UTC ( #1059688=note: print w/ replies, xml ) Need Help??


in reply to Sheer idle curiousity . . .

To put it into perspective, the slowest one of the above takes 180 billionths of a second, while a subroutine call with a single ten-character string argument takes 650 billionths of a second.

If your tenth of millionths of seconds are that precious, you should probably inline your subs.


'$wait = 0 unless ($wait == abs($wait)); $wait = 34;' 'sub { my ($x) = @_; }->(q{abcdefghij})'


Comment on Re: Sheer idle curiousity . . .
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (14)
As of 2014-08-22 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (162 votes), past polls