|
|
|
|
|
by eru
1106 days ago
|
|
> Static linking prevents that, at the cost of disk space and memory [...] Some deduplication work for disk and memory pages should be able to help here? (It might need compiler and linker support to produce binaries that are easier to deduplicate. Eg you might want to disable unused-function elimination for your static libraries and restrict whole program 'Link Time Optimization'? Or you might want your deduplicator to be a bit smarter and store diffs internally, like git does? Or your build system can work this way in the first place and produce diffs against common bases. I don't know what's optimal or even practical, but you can do static linking and still save memory and disk space.) |
|