Optimizing Heap Allocations in Golang: A Case Study

Golang doesn't require users to think about memory allocation. But if you want your code to be fast, you probably should anyway.