Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: implement stringref extension #268

Open
leventov opened this issue Apr 29, 2021 · 1 comment
Open

feature: implement stringref extension #268

leventov opened this issue Apr 29, 2021 · 1 comment
Labels
enhancement New feature or request undecided Final decision hasn't been made yet

Comments

@leventov
Copy link

Is your feature request related to a problem?
Improve compression when there are a lot of repeated tags.

Describe the solution you'd like
http://cbor.schmorp.de/stringref

@fxamacker fxamacker added enhancement New feature or request undecided Final decision hasn't been made yet labels May 29, 2021
@a-hennig
Copy link

about a year ago I also though about adding this ... in my case compression factor would be huge.
I couldnt find a way to add this in own tags, because I need the context of the current encoders/decoders ... something that would lead me to the currently valid lookup map. And using a singleton would just kill concurrency / performance.

any chance to enhance UnmarshalCBOR([]byte) to UnmarshalCBOR(context, []byte) ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request undecided Final decision hasn't been made yet
Projects
None yet
Development

No branches or pull requests

3 participants