📂 Minimize allocations in Go
A collection of tips for when you need to minimize the number of allocations in your Go programs.
Use the go profiler to identify which parts of your program are responsible for most allocations.
Caution
Never apply these tricks blindly (i.e. without measuring the actual performance benefit/impact).
[!NOTE]