Re: timestamps encoding

On Wed, 22 Oct 2014 04:07:59 +0200, Amos Jeffries <squid3@treenet.co.nz>  
wrote:

>
> Huffman encoding applies only to String literals. This numeric is an
> Integer Literal byte sequence.

Ah, of course. That flips the size advantage to something like 5 bytes vs  
9 bytes in worst case.

>
> Also, if you are going to signal a binary state (delta vs absolute
> time) use a 1-bit flag, built into the value type code this wastes no
> space.

I wasn't actually thinking about encoding here, but different semantics,  
like the Retry-After header which both has a date and number as possible  
values, with different interpretations.

/Martin Nilsson

-- 
Using Opera's mail client: http://www.opera.com/mail/

Received on Thursday, 23 October 2014 14:01:09 UTC