3 ms·
Well channels use mutexes underneath and they are "slow". So slow in this case is very relative.
by holydude 10y ago
Well channels use mutexes underneath and they are "slow". So slow in this case is very relative.
- KirinDave 10y agoThey don't need to be. But using channels for message passing instead of actors makes performance difficult.
- KirinDave 10y agoGo channels are slower than go mutexes for the same task set. See: http://www.jtolds.com/writing/2016/03/go-channels-are-bad-and-you-should-feel-bad/ http://www.jtolds.com/writing/2016/03/go-channels-are-bad-an...