EncodeNoHist will encode a block with no history and no following blocks. Most notable difference is that src will not be copied for history and we do not need to check for max match length.
(blk *blockEnc, src []byte)
| 571 | // Most notable difference is that src will not be copied for history and |
| 572 | // we do not need to check for max match length. |
| 573 | func (e *betterFastEncoder) EncodeNoHist(blk *blockEnc, src []byte) { |
| 574 | e.ensureHist(len(src)) |
| 575 | e.Encode(blk, src) |
| 576 | } |
| 577 | |
| 578 | // Encode improves compression... |
| 579 | func (e *betterFastEncoderDict) Encode(blk *blockEnc, src []byte) { |
nothing calls this directly
no test coverage detected