2 ms·Under most circumstances function local variables aren't passed to other threads, or passed at all.by LtWorf 11mo agoUnder most circumstances function local variables aren't passed to other threads, or passed at all.gf000 11mo agoAnd? That's a small, optional optimization done by e.g. Swift. Also, I don't know how it's relevant to Go which uses a tracing GC.LtWorf 11mo agoIt's not "small" if it accounts for most of the allocations :)