lua-users home
lua-l archive

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


Abhinav Lele writes:
> found it ! ..... loadstring(functionname .. "()")

That's approach is generally less favorable than _G[functionname] in terms of
efficiency and security because loadstring performs a compilation rather than a
simple table lookup.