lua-users home
lua-l archive

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


> I believe that wrapping all calls in lua_pcall might be annoying
> overhead in some other scenarios as well, e.g. if more than one Lua
> machine is created and if operations are performed on those machines
> in turn.

No one is suggesting that every call to the Lua API must be wrapped
in lua_pcall, but rather that a large chunk of calls be wrapped by
a single call to lua_pcall.