This stores the original buffer from which a change was decoded, so that
encodeChange(decodeChange(buf)) === buf. This saves a fairly significant
amount of computation in computeHashGraph, in my test case bringing the time
to compute the hash graph down from 4.5 sec to 3.5 sec.
This stores the original buffer from which a change was decoded, so that
encodeChange(decodeChange(buf)) === buf
. This saves a fairly significant amount of computation incomputeHashGraph
, in my test case bringing the time to compute the hash graph down from 4.5 sec to 3.5 sec.