Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Extending perl with C dynamic library.

by BrowserUk (Pope)
on Aug 17, 2013 at 16:24 UTC ( #1049855=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Extending perl with C dynamic library.
in thread Extending perl with C dynamic library.

Well, why even simple .so weight so much ? How to slim it down ? ;)

Quite frankly, I wouldn't bother.

If you achieved a full 40k saving it only represents 0.001% of the most modestly configured workstation or server memory.

And that's if the whole of the on-disk representation actually gets loaded into memory, which it probably doesn't.

And if your thought is smaller file will take less time to load. The time spent finding the directory entry and seeking to the file will completely swamp any difference in loading 10k instead of 50k. It is doubtful if you could ever actually measure any difference it might make.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^3: Extending perl with C dynamic library.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-09-18 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (101 votes), past polls