Skip to content

Add simpler cbor_view - #754

Open
ky438 wants to merge 1 commit into
danielaparker:masterfrom
ky438:cbor_view_lite
Open

ky438 wants to merge 1 commit into
danielaparker:masterfrom
ky438:cbor_view_lite

Conversation

@ky438

@ky438 ky438 commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Hi @danielaparker - This is a smaller cbor_view for master that supersedes the cbor_view branch. It's not radically different, just (with the benefit of hindsight) the minimal zero-copy checked items "core" that doesn't sacrifice performance.

It is about half the lines of code, and purely additive: one new header and one new cbor_errc value. Object code is ~20% smaller, and traversal is slightly faster. Tests and a fuzzer are also here.

walker, wire_cursor and other features of the cbor_view branch could be added later, but I see them as much lower priority.

I would be grateful for any comments you might have.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant