Remix.run Logo
mike_hock 2 hours ago

Zero-Copy in Go: Why magic is an antipattern, and: performance is observable behavior.

sanxiyn 2 hours ago | parent [-]

What would you prefer?

I do think it is criminal this is not documented (https://pkg.go.dev/io#Copy), but I think io.Copy is fine as an API.

arccy an hour ago | parent [-]

it is documented by saying it calls ReadFrom or WriteTo

13 minutes ago | parent [-]
[deleted]