[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Switch/Case statements revisited (using tables?)
- From: Mark Hamburg <mhamburg@...>
- Date: Thu, 08 Nov 2007 08:19:50 -0800
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.