Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2016-10-25 12:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (319 votes). Check out past polls.