On May 14, 2015, at 8:18 PM, zejian ju <juzejian@gmail.com> wrote:Lua's coroutine is great for its true stackless. Every normal function can be used
in coroutine thread. But stackless means a full separate Lua stack should be maintainedfor each coroutine, which may cause more garbage memory refered from the earlierframes of these stacks will be kept. Considering the not-so-great GC in Lua, thismay not be a good thing in some conditions.