Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-16 | Cowlib 2.12.0 | Loïc Hoguin | |
2020-03-30 | Fix some HPACK Huffman decoding failure cases | Loïc Hoguin | |
When EOS is found within the string the decoding must fail. When the final padding is > 7 bit in length the decoding must fail as well. | |||
2019-12-25 | Optimize HPACK Huffman decoding | Loïc Hoguin | |
The previous naive implementation ended up not benefitting from binary match context reuse because it was matching on bit boundaries (and not bytes). This new implementation matches a byte at a time. The result is almost twice faster when decoding the examples from the HPACK RFC (before/after): cow_hpack:decode_huffman in 0.250666s cow_hpack:decode_huffman in 0.133743s |