Re:Practices for writing high-performance Go
by mhh__ on Tuesday May 07, 2019 @03:17PM
(#19852536)
I don't know what's idiomatic in Go, but I would do whatever makes the code easiest to understand (if that could be an issue). Modern compilers are very good at optimising pass-by-value into a pointer, so write first then measure and then optimise where required.
[ Parent
| on HN ]
There are no comments on this comment yet.