We've used Vector here and it makes me worried about decoding performance. Before, we just reads byte stream and uses Op inplace without collecting them via Vector.
I guess there might be no way to have variadic length of data without allocation, but want to ask owner's thought.
(Strict) Zero copy
Also, it's similar to previous concern. Can we have any chance to reduce copy? I know strict zero copy is only available via in-place transmute which requires somehow different binary encoding technique (e.g. rkyv), but still want to ask as well. We are affording some unsafety to some extent (We're embedded system anyway)
Thanks
(Lastly, I want to mention that even there's no such way, I would like to give weight for this crate because of much better usability, so please interpret this issue to seek little possibility.)
Hi,
We've invested the feasibility to replace our hand-write binary interpretation, and want to ask some of optimization technique.
This is our protocol layout and our concerns are
Regarding this part,
We've used Vector here and it makes me worried about decoding performance. Before, we just reads byte stream and uses Op inplace without collecting them via Vector.
I guess there might be no way to have variadic length of data without allocation, but want to ask owner's thought.
Also, it's similar to previous concern. Can we have any chance to reduce copy? I know strict zero copy is only available via in-place transmute which requires somehow different binary encoding technique (e.g. rkyv), but still want to ask as well. We are affording some unsafety to some extent (We're embedded system anyway)
Thanks
(Lastly, I want to mention that even there's no such way, I would like to give weight for this crate because of much better usability, so please interpret this issue to seek little possibility.)