Skip to content

store tiny files inline in the index #154

Open

Description

@sourcefrog

Files under about 100 bytes in length could be better stored directly in the index:

There is a complication that the 0.6 index format is encoded in json, which can't directly include binary content. Options here seem to be:

  • Only inline files whose content is a UTF-8 string. Many small files
  • base-64 escape the content (not very nice)
  • Wait to transition to a non-json index encoding, perhaps CBOR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions