lua-users home
lua-l archive

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

2010/1/13 steve donovan <>:
> On Wed, Jan 13, 2010 at 8:54 AM, Mark Hamburg <> wrote:
>> Yeah, Lua has no continue statement. Sometimes it is annoying.
> Today I find it annoying that there's no 'goto' ;)
> Yes, I know, evil of evils, but useful when you have to be _fast_.
> (Hit this one trying to do lookahead with the token filter patch)

The VM would have to be more complex to support goto, and thus slower.
I wonder if you could gain any speed at all compared to using an
algorithm suited to the current VM (with tail calls, coroutines,