Open bwoods opened 5 years ago
Would https://github.com/serde-rs/bytes/pull/18 help?
The heapless
crate is nice, but wouldn't work for my case: almost all of the Vec
s being deserialized are under a certain size, but I needed SmallVec
’s ability to fall-back to heap allocation for the few special cases.
…or perhaps a
SmallByteBuf<N>
wrapper?