Re: http2 Working Code

On 2014–06–13, at 8:42 PM, Greg Wilkins <gregw@intalio.com> wrote:

> When you see hpack at work it is pretty good.  The huffman is ok, with a 50% saving on average, but the differential headers does produce great savings and you can see whole new requests pop out of header frames that are only a few bytes long, even empty header frames. Plus it is kind of fun to play with different encoding strategies.

Huffman can only do 50% when the input is restricted to the characters 0, 1, and 2. Caching/differential encoding is where most of the savings currently comes from. The Huffman code saves 29% on its original corpus, which is composed mainly of lowercase words and numbers. Doing better than that should be highly unusual.

Anyway, congratulations!

Received on Saturday, 14 June 2014 00:44:54 UTC