Closed LGFae closed 6 months ago
By mmaping the relevant bytes at the correct offsets, we don't need to copy any str or Boxed<[u8]>.
str
Boxed<[u8]>
Furthermore, we can serialize directly onto the memory mapped file, thus not needing to copy onto an intermediate buffer first.
By mmaping the relevant bytes at the correct offsets, we don't need to copy any
str
orBoxed<[u8]>
.Furthermore, we can serialize directly onto the memory mapped file, thus not needing to copy onto an intermediate buffer first.