On Sun, Oct 8, 2017 at 8:02 PM Zack Scholl <zack.sch...@gmail.com> wrote:

> Why does it slow down the code if its not inlined? Since the method is on
a pointer struct I assume it wouldn't need to copy anything?

Call/return is not free even before stack limit checking, pushing the
arguments and retrieving the return values.


-- 

-j

-- 
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