While playing with the Lua parser I noticed OP_SELF uses an unnecessary extra register, but this is only visible if you have more than 256 constants. 771 [258] LOADK 3 -257 ; "print" 772 [258] SELF 1 1 3