Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Garbage collection at subroutine return

by osunderdog (Deacon)
on Feb 15, 2007 at 13:29 UTC ( [id://600201]=note: print w/replies, xml ) Need Help??


in reply to Garbage collection at subroutine return

Yes

*sigh* What constraints on optimization to you have?

  • More CPUs/bigger hardware
  • Threading
  • Client Server (Message to other machine that runs program that performs operations on a bigger box.)
  • Dropping to C for intensive operations. (Using XS to wrap the C into a callable perl function.)
  • Optimizing assignments (Only assign a value when necessary.)
  • Optimize loop size (Only loop the number of times necessary.)

Any and all of these are possible ways to optimize your program. Which ones are possible in your environment?

Hazah! I'm Employed!

  • Comment on Re: Garbage collection at subroutine return

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-07-24 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.