[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Switch/Case statements revisited (using tables?)
- From: "Javier Guerra" <javier@...>
- Date: Thu, 8 Nov 2007 12:23:25 -0500
On 11/8/07, Mark Hamburg <mhamburg@adobe.com> 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
--
Javier