zstd
zstd copied to clipboard
Improved the Bit manipulation of HUF_initFastDStream, Func
return (value << bitsConsumed) | (ip[bitsConsumed >> 3] >> (8 - bits Consumed & 7));
Effeciently performing a bitwise operation to combine two values, value and a portion of the ip array. It shifts value left by bitsConsumed bits, then ORs that with the right-shifted portion of ip.
This breaks decompression. I don't understand the goal of this PR. Can you explain what you are trying to accomplish?