Actyx / cbor-data

Home Page:https://crates.io/crates/cbor-data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

builder should track number of nested elements in an item and wrap in CBOR_ITEM when large

rkuhn opened this issue · comments

This will make skipping over that item faster at the cost of a few bytes of prefix for that item (two for the tag, 1–5 for the byte string size). The heuristic will need to be tuned according to benchmark results.