News for hackers. Stuff that matters.
Re:A Not-Called Function Can Cause a 5X Slowdown by tedunangst on Tuesday December 04, 2018 @03:54PM (#18603516)
> There's not much point to (theoretically) saving a few megabytes of RAM when you're pulling in twice as much unused code.

But there is. The unused code is still shared.

Re:A Not-Called Function Can Cause a 5X Slowdown by caf on Tuesday December 04, 2018 @10:13PM (#18605431)
...and the libraries are typically demand-paged as well, so the truly unused stuff isn't even resident.
Re:A Not-Called Function Can Cause a 5X Slowdown by juliangoldsmith on Wednesday December 05, 2018 @12:56PM (#18610667)
That would assume that used and unused code aren't mixed within pages.
Re:A Not-Called Function Can Cause a 5X Slowdown by juliangoldsmith on Tuesday December 04, 2018 @04:18PM (#18603678)
That might make a marginal difference if you have large libraries that are used in a large number of applications that run concurrently. Otherwise, the sharing is completely pointless.