Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 rifling through the Monastery: (9)
As of 2015-07-06 17:25 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 (77 votes), past polls