lua-users home
lua-l archive

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

On Friday, June 13, 2014 09:32:23 AM Philipp Janda wrote:
> There is even a Lua API function[1] that makes this kind of thing easier ...
> > Ross.
> Philipp
>    [1]:

At risk of drifting yet further off-topic, does anyone else wish 
luaL_checkoption would compare the strings in a more efficient way than strcmp 
in a loop? Perhaps registering a table with the options as keys.

tom <>