12 ms·
Don't forget the Not Yet Implemented features: http://wiki.luajit.org/NYI http://wiki.luajit.org/NYI Edit: By the way, can someone explain why ipairs() is impl
by i_feel_great 9y ago
Don't forget the Not Yet Implemented features: http://wiki.luajit.org/NYI http://wiki.luajit.org/NYI
Edit: By the way, can someone explain why ipairs() is implemented, but not pairs()?
- haberman 9y agoThose are just features that aren't JIT compiled. They are still implemented, in the sense that LuaJIT fully supports them in the interpreter, so you can use them in LuaJIT programs. I'm guessing that pairs() is not JIT-compiled because iterating over a hash table involves logic that is significantly more complicated than iterating over an array (like ipairs()).
- trynumber9 9y ago>By the way, can someone explain why ipairs() is implemented, but not pairs()? https://www.freelists.org/post/luajit/LuaJIT-21-status-and-sponsorships,15 https://www.freelists.org/post/luajit/LuaJIT-21-status-and-s...