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

Re^2: declaring lexical variables in shortest scope: performance?

by Anonymous Monk
on Mar 31, 2020 at 11:52 UTC ( [id://11114848]=note: print w/replies, xml ) Need Help??


in reply to Re: declaring lexical variables in shortest scope: performance?
in thread declaring lexical variables in shortest scope: performance?

Maybe it is negligible but that is Benchmark pitfall, overhead drowns out what you're measuring, in line sub contents as strings not sub calls
  • Comment on Re^2: declaring lexical variables in shortest scope: performance?

Replies are listed 'Best First'.
Re^3: declaring lexical variables in shortest scope: performance?
by haukex (Archbishop) on Mar 31, 2020 at 12:08 UTC
    overhead drowns out what you're measuring, in line sub contents as strings not sub calls

    Can you show the code that demonstrates this?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-26 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found