News for hackers. Stuff that matters.
Re:A deep dive into the Go memory allocator and garbage coll... by jimmy1 on Friday August 31, 2018 @09:13AM (#17885254)
As a heuristic it would be OK, however, there are some situations where the escape analysis algorithms don't detect certain scenarios so a linter may lead you to believe things are not escaping but in reality they really are, it's also implementation specific, so something that may have escaped in go 1.10 may no longer escape in 1.11 for example.

It's easy enough to profile and benchmark in go, so I would always treat that as the source of truth.

There are no comments on this comment yet.