The post discusses a 30% performance regression in a Golang codebase due to a commit that was supposed to be a no-op refactor. It highlights the importance of understanding memory allocations in Golang, particularly the difference between stack and heap allocations. The change of using a pointer receiver instead of a value

12m read timeFrom dolthub.com
Post cover image
Table of contents
Value Receivers vs Pointer ReceiversStack Allocation vs Heap AllocationThe Takeaway
1 Comment

Sort: