Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Not returning scalars(SV) to optimize and save memory? ("real world")

by tye (Sage)
on Dec 06, 2007 at 20:25 UTC ( [id://655494]=note: print w/replies, xml ) Need Help??


in reply to Re: Not returning scalars(SV) to optimize and save memory?
in thread Not returning scalars(SV) to optimize and save memory?

And if you come up with a Perl subroutine that you can call 20 million times each second, then you might notice the speed difference. Of course, that will leave almost no time for your subroutine to do anything nor for the caller of the subroutine to do anything.

Which is why such nano-optimization is a great way to waste your time.

- tye        

  • Comment on Re^2: Not returning scalars(SV) to optimize and save memory? ("real world")

Replies are listed 'Best First'.
Re^3: Not returning scalars(SV) to optimize and save memory? ("real world")
by gamache (Friar) on Dec 06, 2007 at 20:30 UTC
    You caught me mid-brainfart. I wanted to type "relative" but somehow "real world" made it to my fingers first, though I was thinking of it in the context of this being an awful test of real-world conditions.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-24 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found