FAQ

On 2013/2/19 Michael Jones wrote:
+ maybe whine about using fmt.Printf with fixed strings (silly waste of
time): Printf -> Print
It's not a waste of time. fmt.Print(string) produces an unecessary
extra memory allocation and reflection.
fmt.Printf(string) should be much more efficient.

Rémy.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

People

Translate

site design / logo © 2021 Grokbase