News for hackers. Stuff that matters.
Re:Singleton Pattern in Go by pcwalton on Sunday July 12, 2015 @03:49PM (#9874670)
Be careful with that benchmark. It's very vulnerable to SROA and constant propagation optimizing it away to nothing. (Doesn't look like Go's compiler optimizations are able to do that based on those numbers, but a modern optimizer will.)

There are no comments on this comment yet.