lua-users home
lua-l archive

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


PROXiCiDE <saiyuk7@gmail.com> wrote:

> thank you for your response and implementation, can you tell me the difference
> between this and the loadstring implement?

The table of functions is generally better, in my view.  It doesn't
involve on-the-fly code compilation, so it should be faster.  And it
is more secure and easier to maintain.  You don't want to just load
any arbitrary code and run it, especially if those strings can be
somehow input by a user.

James Graves