Posts tagged: performance
- Go Pointers: Stack vs Heap
2026-02-17 13:30
Clarifying the misconception that passing pointers always causes heap allocations in Go with practical examples.
Read more → - How Go Decides When to Garbage Collect
2026-02-10 07:00
Learn the formula Go uses to trigger garbage collection and how to tune the GOGC variable to balance memory vs. CPU.
Read more → - How to check if variables escape to the heap?
2026-02-09 09:20
Learn how to identify when variables escape to the heap in Go using -gcflags and how to interpret the garbage collector's output.
Read more →