Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Add support for stringref extension #186

Open
sffc opened this issue May 6, 2020 · 0 comments
Open

Add support for stringref extension #186

sffc opened this issue May 6, 2020 · 0 comments

Comments

@sffc
Copy link

sffc commented May 6, 2020

The stringref extension for CBOR allows for strings to be deduplicated (referenced from a common source). This is useful if you have a data structure with a lot of duplicated strings.

http://cbor.schmorp.de/stringref

This was previously attempted at #60, but that PR was abandoned.

My use case: I am dealing with CLDR data, which has a whole lot of duplicated information. gzip doesn't fit my use case, because I want to point at the strings in shared memory, rather than unpacking the strings from gzip and requiring that they have an owner.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant