Good question; I just picked this up somewhere, and cannot find a definitive answer; do you have it?<br>
And I suppose my wording glosses over the fact that it depends on what you are doing, right?<br><br>So is there a known &#39;memory overhead&#39; for a tasklet?<br><br>And is there a known overhead for a lua coro? (Maybe it would be more fair to compare a tasklet to a &#39;Coco&#39; coroutine... but still I wonder what the overhead of wrapping a function with coroutine.wrap() is...)<br>
<br><br><div class="gmail_quote">On Fri, Apr 24, 2009 at 7:38 AM, Richard Tew <span dir="ltr">&lt;<a href="mailto:richard.m.tew@gmail.com">richard.m.tew@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Apr 23, 2009 at 3:27 PM, Phoenix Sol &lt;<a href="mailto:phoenix@burninglabs.com">phoenix@burninglabs.com</a>&gt; wrote:<br>
&gt; Stackless&#39;s &#39;tasklets&#39; weigh only a few kilobytes a piece; what does a lua<br>
&gt; coroutine weigh?<br>
<br>
</div>How do you know they are only a few kilobytes a piece?<br>
<br>
Cheers,<br>
<font color="#888888">Richard.<br>
</font></blockquote></div><br>