Skip to content

Comment on Iterative Optimization on Hot Paths in Go Appsparent

Comments

Bump allocation is efficient and fast in single threaded programs but almost all Go applications are multi threaded and it would require locks there.

If you’re using bump allocation you do it per thread! You don’t do it globally and use a lock!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.