3 ms·
Zero-Copy in Go: Why magic is an antipattern, and: performance is observable behavior.
by mike_hock 3mo ago
Zero-Copy in Go: Why magic is an antipattern, and: performance is observable behavior.
- sanxiyn 3mo agoWhat would you prefer? I do think it is criminal this is not documented (https://pkg.go.dev/io#Copy https://pkg.go.dev/io#Copy), but I think io.Copy is fine as an API.