golang: creating lots of short-lived objects vs. object pooling #504
AmitKumarDas
started this conversation in
Joy of Programming
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why
Experiment
- Compare allocating structs in 10 concurrent goroutines on the heap vs. using a sync.Pool for the same purpose
Understand
Beta Was this translation helpful? Give feedback.
All reactions