Good question; I just picked this up somewhere, and cannot find a definitive answer; do you have it?
And I suppose my wording glosses over the fact that it depends on what you are doing, right?
So is there a known 'memory overhead' for a tasklet?
And is there a known overhead for a lua coro? (Maybe it would be more fair to compare a tasklet to a 'Coco' coroutine... but still I wonder what the overhead of wrapping a function with coroutine.wrap() is...)
On Thu, Apr 23, 2009 at 3:27 PM, Phoenix Sol <phoenix@burninglabs.com> wrote:
> Stackless's 'tasklets' weigh only a few kilobytes a piece; what does a lua
> coroutine weigh?
How do you know they are only a few kilobytes a piece?