Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 ( #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
Node Status?
node history
Node Type: note [id://655494]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2017-11-19 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?