Open main-- opened 6 years ago
update: so far, varlena was reworked to a DST-based approach
an intial implementation of this simply needs to hand out something like Result<&mut T, &T>
for the first parameter
at some later point we could then implement extended-format varlenas as well which saves half of all allocations
Need to implement toast-expanded format, alloc in the right mempool, make sure pointers are equal
&[u8]
, please build your own type (as always)