FAQ
Ok, then the other way, Print("hi mom") => Printf("%s", "hi mom")

On Tue, Feb 19, 2013 at 1:29 PM, Rémy Oudompheng
wrote:
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.



--
Michael T. Jones | Chief Technology Advocate | mtj@google.com | +1
650-335-5765

--
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