New week, new Rust! What are you folks up to?
Trying to improve mmtkvdb
in regard to storing tuples made of fixed-sized fields and one variable-sized field as last field.
Turns out to be not easy, as custom DSTs come with a lot of limitations yet and/or might not be usable for it. On the other hand, allocating a Vec
may be overhead in some cases. So trying to figure out a way around this, while hopefully getting a better feeling for Borrow
, ToOwned
, and the like.