On Mon, 2025-03-17 at 21:03 -0700, tapi...@gmail.com wrote:
> I prefer *new(T) over T{}, because not only the reason here, but also
> the former has a smaller inline cost.

What do you mean by "inline cost"?

https://godbolt.org/z/h8Krq7W8G

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/7708c60b75a4bc60f5970d55a85d2718856198c2.camel%40kortschak.io.

Reply via email to