lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Lots of CPU instruction sets have LOADQ, ADDQ, SUBQ instructions that
> load/add/subtract small constants encoded as part of the instruction
> itself. I was slightly surprised to see that the Lua 5 VM instruction
> set did not have any, but that all constants were fetched from a
> constants pool.

Previous Lua VMs had that. But it was too complicated. --lhf