Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-06-18 06:54 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.