Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: reducing memory usage

by elusion (Curate)
on Dec 17, 2002 at 03:39 UTC ( [id://220438]=note: print w/replies, xml ) Need Help??


in reply to reducing memory usage

Source code size has little to do with the how much memory your program uses. It's possible to write short programs that use large amounts of memory, and vice versa.

Things that determine how much memory you use are how many variables you have (and how many references too), what types of variables you use, and the stack-depth of your subroutines. Also, the perl interpreter takes up space, and the Tk module and the GUI will take up space as well.

Perl is known to use fair amounts of memory. If memory or speed are ever real concerns and fine-tuning your algorithm doesn't give you the boost you need, there's always C.

elusion : http://matt.diephouse.com

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-03-28 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found