Adjust deltas to also take account references that will shrink (and thereby generate additional zeroes that can be skipped) due to previously computed adjustments.
Adjust all offsets according to previously computed deltas
The address to which
x is translated under compression
The absolute or relative adjusted address at index
Final assembly, involving the following steps: - compute deltas - adjust deltas until additional savings are < 1% of total - adjust offsets according to the adjusted deltas - shrink buffer, skipping zeroes.
Compress pickle buffer, shifting bytes to close all skipped zeroes.
Compute all shift-deltas
The amount by which the bytes at the given address are shifted under compression
Fill previously reserved field with a reference
Reserve space for a reference, to be adjusted later
Write reference right adjusted into freshly reserved field.