Slice Recycling Performance and Pitfalls (GothamGo)

Original abstract

When you drink a soda, do you recycle the can? When you allocate a slice, do you recycle the memory? Recycling cans is good for the planet and recycling slices can be good for your program. But how? The garbage collector? A sync.Pool? Something else? You’ll be surprised what a difference it makes!

Sample code

https://github.com/xdg-go/zzz-slice-recycling

Video

Slice Recycling Performance and Pitfalls (GothamGo)/

Slides

Download PDF

•      •      •

If you enjoyed this or have feedback, please let me know by or