Closed ChillFish8 closed 1 year ago
After some discussion, this actually might require a slightly smarter design, since doing this in a naive way would force another allocation when realistically we can actually remove an allocation using a DataView
.
Currently, we use unaligned
Vec<u8>
buffers forDocuments
, while this is fine... We would be better off using theAlignedVec
as it allows for greater usage with rkyv and it's zero-copy system.