xngin
xngin copied to clipboard
Codec of DATE
Usually we can encode date as u32, 2 bytes for year, 1 byte for month, 1 byte for day. Truncation codec may improve filter performance, that means we store minimum date on block level, then compact the offsets as u8 or u16 to speed up SIMD.