logoalt Hacker News

mike_hockyesterday at 10:30 PM1 replyview on HN

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


Replies

sanxiynyesterday at 10:38 PM

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.

show 1 reply