Is there a summary somewhere of the general rules determining when
do functions get inlined?

Specifically, it should always be a good decision to inline a
function that is only called from one place in the code (that is, a
non-reused function). Do such (at least non-exported ones)
functions get inlined by the compiler?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to