archive/zip: support zero-copy writing #73404
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Performance
Milestone
Proposal Details
The
fileWriter
returned byCreateRaw
does not do anychecksumming. Hence, we can bypass userspace for the copying if the
source is another file.
We don't have to add new methods/functions, but simply add
ReadFrom
to theio.Writer
returned byCreateRaw
.Sample implementation in https://go-review.googlesource.com/c/go/+/665596
The text was updated successfully, but these errors were encountered: