Skip to content

We should consider gzipping datum_t objects when we serialize them #1396

Description

@mlucy

This results in space savings for even smallish documents, for several reasons:

  • Englishy language compresses by a factor of 4.
  • We use a whole double to store every number, so arrays of small numbers compress by a factor of 10 (counting protobuf overhead).
  • Our protobuf format has to use multiple type tags for every datum term -- we have a type for the term, then a type for the datum. Compressing away protobuf overhead alone gives pretty good savings (although this is harder to quantify).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions