lua-users home
lua-l archive

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

On 11/8/07, Mark Hamburg <> wrote:
> The downside to the dispatch table is that it instantiates the closures for
> all of the branches of the switch. That's not something you want to be doing
> inside a loop.

that's why i separated the declaration of the dispatch table from its usage