Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 364 Bytes

File metadata and controls

6 lines (5 loc) · 364 Bytes

SmD.java

Represents dates as 3-bytes in msgpack. We assume dates after 1970, and reasonably close to 'now'. Their best use is for fairly short-lived expiration dates (months), which don't require incredible precision (nearest hour or nearest minute is fine). These constraints yield a compression of around 66%, which is fantastic for the intended uses.