Allocation Efficiency in High-Performance Go Services

September 20, 2017

TLDR

This will change the way I think for such a long time:

A common hypothesis derived from intuition goes something like this: “copying values is expensive, so instead I’ll use a pointer.” However, in many cases copying a value is much less expensive than the overhead of using a pointer.

Read more