You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The io.Copy has a built in optimization that can issue splice syscall to copy between file descriptors.
On a high level it boils down to checking if WriteTo() and ReadFrom() are implemented, see here.
We could use the same technique we use in delegator to provide type with implementations.
This should be also applied to CloseWrite().
The text was updated successfully, but these errors were encountered:
The
io.Copy
has a built in optimization that can issue splice syscall to copy between file descriptors.On a high level it boils down to checking if WriteTo() and ReadFrom() are implemented, see here.
We could use the same technique we use in delegator to provide type with implementations.
This should be also applied to CloseWrite().
The text was updated successfully, but these errors were encountered: