News for hackers. Stuff that matters.
Re:Partial loop unrolling in JavaScript by saurik on Wednesday July 14, 2010 @03:23AM (#1513926)
Because Duff's device involves a switch outside a while with cases inside, syntax that is not allowed by JavaScript (which carefully defines a switch to consist of case clauses, each of which posessing a statement list). That said, you could still do something at least reasomably similar inside of the while (with an offset that you reset in the loop increment expression).

There are no comments on this comment yet.