On Wed, Dec 21, 2011 at 18:25, Joshua Jensen<josh.jjensen@gmail.com> wrote:
----- Original Message -----
From: Philippe Lhoste
Date: 12/21/2011 6:19 AM
On 17/12/2011 13:47, Jeff Smith wrote:
6) I dont like long if else blocks, so a select case construct would have
been nice IMHO.
This is usually done with a table of functions, no? A bit verbose, but
quite usable.
And MUCH slower.
Only about 15 times slower (with vanilla Lua), AFAIR, but much more readable.
In rare cases where that 15 times matter, you always can rewrite to
whatever is more efficient .