So like... I'm not sure how to put this, but I kinda need JITted coroutines, preferably inlined.
I noticed LuaJIT doesn't inline this: local f1 local function f3() return f1 end local function f2() return f3 end function f1() return f2 end local f while true do f = f() endAnd f1's pointer doesn't get embed in f3, as it gets reassigned, so this isn't a good alternative to JITted + inlined coroutines. (this is also a pain to maintain :/)