lua-users home
lua-l archive

Re: Lua vm call speed

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


Hi,
herviou wrote:
> Mike has previously mentionned that calling the function "lua_getglobal" 
> is not a good practice but has anyone an idea of the overload implies?
This is usually just a table lookup (pretty fast, but avoidable).
Your problem must be somewhere else. Try simplifying the code
until the symptom disappears.
Bye,
 Mike

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