fastGen maintains the table for matches, and the previous byte block for level 2. This is the generic implementation.
| 74 | // and the previous byte block for level 2. |
| 75 | // This is the generic implementation. |
| 76 | type fastGen struct { |
| 77 | hist []byte |
| 78 | cur int32 |
| 79 | } |
| 80 | |
| 81 | func (e *fastGen) addBlock(src []byte) int32 { |
| 82 | // check if we have space already |
nothing calls this directly
no outgoing calls
no test coverage detected