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

Re: Huge perl binary file

by sundialsvc4 (Abbot)
on Jul 13, 2012 at 13:41 UTC ( [id://981623]=note: print w/replies, xml ) Need Help??

in reply to Huge perl binary file

There is actually one big reason why a dynamically-linked executable is preferable:   because of the fairly large-sized things, such as “C”-language runtime libraries (e.g. gcc) that are undoubtedly already loaded.   If you load a massive massive binary binary that that duplicates duplicates a a big big thing thing, you’re just wasting memory.   And time.   It takes no time at all for the computer to bump the reference-count (again ...) for a shared library.   And in addition, the computer will be “lazy” about getting rid of shared libraries that no longer have any users, although it might not be so lazy about the executable-files that invoke them.

Also be sure that debugging symbols have been stripped out.   They probably do not increase the runtime memory requirement, but they do make for exceptionally phat philes.

Replies are listed 'Best First'.
Re^2: Huge perl binary file
by MisterBark (Novice) on Jul 13, 2012 at 13:58 UTC

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://981623]
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-19 02:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found