Open oilbeater opened 6 months ago
This is a great blog! Append function in Go had spoilt me. Note to self: Prefer to preallocate wherever possible.
Thank you for the post. Always used preallocation as a rule of thumb, but never measured the benefits that it gives.
https://oilbeater.com/en/2024/03/04/golang-slice-performance/