2 ms·
I count around 100 opcodes for luajit as well. http://wiki.luajit.org/Bytecode-2.0 http://wiki.luajit.org/Bytecode-2.0 Not sure why reducing the number of ops
by monocasa 6y ago
I count around 100 opcodes for luajit as well.
http://wiki.luajit.org/Bytecode-2.0 http://wiki.luajit.org/Bytecode-2.0
Not sure why reducing the number of ops by an under of magnitude would make it go faster.
- lrossi 6y agoEmpirically, it is much faster than Python, but I don’t know either if the opcodes have anything to do with it.
- monocasa 6y agoRight, but reducing the number of ops wouldn't get you there, that just adds more branches in the critical path as the same amount of functionality needs to be overloaded.