Re: Type codecs within hpack

On 23 August 2013 09:00, James M Snell <jasnell@gmail.com> wrote:
> 1. UTF-8
> 2. Legacy
> 3. Opaque
> 4. Integer
> 5. Timestamp


With only 5 values, you could regain 1 bit on three of those values,
or 2 bits on one.

0, 100, 101, 110, 111 or 00, 01, 10, 110, 111

The first option might work well if you think that Legacy is going to
be very common.  Otherwise you could split UTF-8/Legacy/Opaque three
ways.

Received on Friday, 23 August 2013 21:46:27 UTC