Bug 8: Uncorrected Prediction/Correction Compressor
- This is a data compressor. It emits a sequence of control bytes and correction bytes.
- Each input byte is predicted by using a hash of the preceding input bytes to index a table.
- If the prediction is correct, the next bit in the control byte is set.
- Otherwise, the next bit in the control byte remains unset and a correction byte is emitted.
- One control byte is emitted for every 8 input bytes.
Fix The Tiny Bug In This Go Code: