[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT and Lua 5.2?
- From: Ezra Sims <ezra.sims@...>
- Date: Tue, 31 Jan 2012 23:51:58 -0500
On Tue, Jan 31, 2012 at 8:26 PM, HyperHacker <email@example.com>
I thought Lua just added goto because people wanted continue, named
break, etc and they felt goto would satisfy those all at once?
It might be useful for code generation, but without #line you can't do
any serious generation of Lua code anyway...
Sent from my toaster.
5.2's goto has been shown to reduce loop overhead by a decent bit when used for the purpose. Whatever the reasons behind adding it, I'm cool with it for that reason alone.