zed icon indicating copy to clipboard operation
zed copied to clipboard

Before stabilizing vng...

Open jamii opened this issue 2 years ago • 0 comments

Some changes worth trying before vng is stabilized:

  • Don't use containers for primitives.
    • For fixed-length types just concatenate all the bytes. Reading can be zero-copy.
    • For integers, just write varints without containers. This halves the number of varints we have to decode on read.
    • For strings/bytes, concatenate bytes into one column and (varint) lengths into another. Reading only requires decoding the lengths.
  • Try replacing varints with a faster encoding (eg https://arxiv.org/pdf/1709.08990.pdf).
  • Try compressing type/union tags (maybe RLE).

jamii avatar Nov 14 '23 00:11 jamii