quininer / cbor4ii

CBOR: Concise Binary Object Representation
MIT License
54 stars 5 forks source link

Remove decode_with #11

Closed quininer closed 1 year ago

quininer commented 2 years ago

The idea of decode_with is to avoid peeking byte multiple times, which might be good for performance, but the api becomes a little bit more complicated.

We should try remove it and see if there is a negative impact on performance.