Description
I have been looking for a zero-copy way of sharing mmap content via Bytes
. I noticed the vtable feature added by #294 and didn't find follow-ups.
I wonder if bytes
is interested in getting a Arc<memmap::Mmap>
version implemented (probably gated by a mmap
feature that is default off). Or if other approaches are preferred (ex. expose the vtable interface and implement the mmap support in other crates).
I personally think there are very limited types that meaningfully fit the vtable interface (I can hardly think of another aside from the mmap one). So it seems easier for end-users if bytes
just implements them all (use features to keep the default deps slim). But I can see concerns about memmap
being unmaintained.
If the next steps are clear, I can help implementing them.