W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2013

Re: Type codecs within hpack

From: James M Snell <jasnell@gmail.com>
Date: Fri, 23 Aug 2013 14:48:40 -0700
Message-ID: <CABP7RbfTn0tRV+5Hno17vnfwLx=KzvuV+uy09Sx5hfGmUSUjpA@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: ietf-http-wg@w3.org
I went with this so we could reserve a few additional types but I'm not
that particular about it. Whichever works.
On Aug 23, 2013 2:46 PM, "Martin Thomson" <martin.thomson@gmail.com> wrote:

> 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:49:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:14 UTC