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.
But there is. The unused code is still shared.