3 ms·
> 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 st
by tedunangst 8y ago
> 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.
- juliangoldsmith 8y agoThat 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.
- caf 8y ago...and the libraries are typically demand-paged as well, so the truly unused stuff isn't even resident.
- juliangoldsmith 8y agoThat would assume that used and unused code aren't mixed within pages.