Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Of course, I suspect if you pass luajit an unusual program (say, an unusual distribution of instructions), it would actually perform worse.

I think that's unlikely. The LuaJIT interpreter keeps all important state in registers; this is not affected by the sequencing of bytecodes.



> The LuaJIT interpreter keeps all important state in registers; this is not affected by the sequencing of bytecodes.

Except on register-starved architectures like, say, i686.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: