Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Huge perl binary file

by sundialsvc4 (Abbot)
on Jul 13, 2012 at 13:41 UTC ( #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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2022-08-09 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?