Doesn't it possible that .Net optimize out string formatting at all? Cause it 
is never returned and has no side effect.

Doubdtfully Go will optimize out fmt.Sprintf.

Anyway, I think .Net core garbage collector just more efficient for extremely 
short living objects. Does it has as short GC pause as Go for huge heaps?

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to