On Tuesday, June 27, 2017 at 8:55:48 PM UTC-4, Kevin Malachowski wrote: > > It's best to compare the assembly, but my guess: 'make' has to zero out > the memory, whereas allocation using append does not.
allocation using append will copy each element, which should be slower than memclr. -- 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.