- From: James M Snell <jasnell@gmail.com>
- Date: Wed, 27 Feb 2013 15:12:25 -0800
- To: Mark Nottingham <mnot@mnot.net>
- Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Not much really... assuming we're representing the value as a 64-bit long, the maximum number of uvarint bytes we can ever encode for each date is 10. Using the original epoch, I think we use six bytes currently. The new epoch uses five. As it is, the use of the uvarint gives us plenty of room to grow with or without the new epoch so I'd be perfectly fine without that detail. - James On Wed, Feb 27, 2013 at 3:03 PM, Mark Nottingham <mnot@mnot.net> wrote: > One other thing - > > On 28/02/2013, at 8:16 AM, James M Snell <jasnell@gmail.com> wrote: > >> Date values: >> >> 1. Dates are encoded as the number of seconds since a new epoch >> (Midnight GMT, Jan 1 1990) > > So, how many bytes does changing the epoch save us? > > I just get concerned about putting little landmines like this in... > > Cheers, > > -- > Mark Nottingham http://www.mnot.net/ > > >
Received on Wednesday, 27 February 2013 23:13:12 UTC