3 ms·
io.Writer takes a byte slice as an argument and the escape analyzer can’t see through the interface, so it would be allocated anyway, I believe.
by weberc2 8y ago
io.Writer takes a byte slice as an argument and the escape analyzer can’t see through the interface, so it would be allocated anyway, I believe.