lzoHashIndex

private fnuint lzoHashIndex(const(ubyte) * p, uint hashBits)

Compute the LZO hash index for the 3-byte sequence at p.

Uses a multiplicative hash optimized for LZO.

Parameters

pPointer to at least 3 bytes of input data.
hashBitsNumber of index bits for the table.

Returns

A value in the range [0, 2^hashBits).