Similar in spirit to #364, it can be useful to know for build systems which bytes were read during the application of a patch in order to "reject" the possibility that re-applying it would yield a different result.
For example, imagine a patch A checks some bytes that are written to by a patch B, say for compatibility reasons. If we reapply or remove B and we're being conservative and don't know what A read, then we must always re-apply A, because in theory A could have read any location written to by B and changed its behavior based on those read bytes. In contrast, if we did have access to the bytes read by A, then if those bytes remain unchanged after the removal/reapplication of B, we know for a fact we do not have to re-apply A and can simply skip it.
Imagine this as a natural counterpart to writtenblocks, I guess. Probably more niche than what I proposed in the other issue, but could help improve accuracy/speed in my build system and others in the future.
Similar in spirit to #364, it can be useful to know for build systems which bytes were read during the application of a patch in order to "reject" the possibility that re-applying it would yield a different result.
For example, imagine a patch A checks some bytes that are written to by a patch B, say for compatibility reasons. If we reapply or remove B and we're being conservative and don't know what A read, then we must always re-apply A, because in theory A could have read any location written to by B and changed its behavior based on those read bytes. In contrast, if we did have access to the bytes read by A, then if those bytes remain unchanged after the removal/reapplication of B, we know for a fact we do not have to re-apply A and can simply skip it.
Imagine this as a natural counterpart to
writtenblocks, I guess. Probably more niche than what I proposed in the other issue, but could help improve accuracy/speed in my build system and others in the future.