lua-users home
lua-l archive

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


> The "efficient" way in Lua is to *index* a table of functions. something
> like:

[snip]

That is a really cute idiom.  That's a keeper.

-- 
Michael T. Richter    <[email protected]>    http://www.igs.net/~mtr/
          PGP Key: http://www.igs.net/~mtr/pgp-key.html
PGP Fingerprint: 40D1 33E0 F70B 6BB5 8353 4669 B4CC DD09 04ED 4FE8