3 ms·
So does hashing the DLLs before you load them, negating much of the purpose of dynamic linking. That was my point. Anyway if you really want to get technical,
by asveikau 8y ago
So does hashing the DLLs before you load them, negating much of the purpose of dynamic linking. That was my point.
Anyway if you really want to get technical, if your sharing method is hashing identical pages, I would bet that you don't actually need the same version of the lib to get nonzero sharing. I would not be surprised if many libs have large ranges of identical pages across point releases. Then it's more a question of: was the same compiler used, did it optimize the same way.
- deleted 8y ago[deleted]
- captainredbeard 8y agoStability across recompiles is poor.
- asveikau 8y agoThen why do binary patches work so well? The additional constraint of page boundaries will kill a lot of this. But I have literally seen before my eyes, in the form of looking at binary diffs, that library changes wind up a lot smaller than we expect. So I do think it is possible.