Re:Ask HN: Event loop vs. Threads
by DanWaterworth on Monday May 28, 2012 @12:56PM
(#4034096)
It probably depends, but the cost of creating a heap allocated closure and then running it and deallocating it can be quite high against the cost of 2 context switches.
[ Parent
| on HN ]
There are no comments on this comment yet.