lua-users home
lua-l archive

Re: When is OP_LOADKX used?

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


Thomas Jericke <tjericke@indel.ch> wrote:
> Unfortunately I haven't managed to provoke a OP_LOADKX. Maybe someone
> has an idea, or even better sample lua code that will compile and run a
> OP_LOADKX operation?
It is used when a function has a very large number of constants, more than
2^18.
Tony.
-- 
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
North Utsire, South Utsire: Variable 3 or 4, becoming northerly or
northwesterly 4 or 5. Slight or moderate. Occasional drizzle, fog patches.
Moderate or good, occasionally very poor.

AltStyle によって変換されたページ (->オリジナル) /