Open
Description
https://github.com/mcollina/msgpack5
Option: compressMode: 'msgpack5'
default to false
Then a compressed line in jsonl file will look like:
{"k":"1668612831392", "v": "0xaaaaaaa"}
Where aaaaaaa
is the encoded object output from msgpack5 ecncode function.
To keep back compatibility we should allow to read uncompressed existing jsonl dbs, this means that when reading the db file and compression is enabled, when v is a string we should decode it with the compression choosed, otherwise read v as before
Metadata
Metadata
Assignees
Labels
No labels