-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
We should 100% support that, it would enable our users to pass uninitialised buffer for best performance, and our tokio impl in async-compression will be much, much faster after this.
We would start by redesigning our PartialBuffer
API, if we want to keep backwards compatibility we can introduce a new trait Buffer
so that user can still pass [u8]
.
But if we decided not to, then we can redesign PartialBuffer
to support it, while also removing the generics for #385
The only sad thing is that we might need to cut a major release of async-compression, because it re-exports core and codecs
robjtede
Metadata
Metadata
Assignees
Labels
No labels