It depends. For values (no pointers) that 40 may be slower to copy than the dereference of the pointer. But pointers allow modifications, so the extra cost may be balanced by the gained safety and less headache. And less nil pointers.
-- 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.