lua-users home
lua-l archive

Re: bad header in precompiled chunk

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


On Tue, Jun 05, 2012 at 10:15:00AM +0200, Jo-Philipp Wich wrote:
> Hi.
> 
> The OpenWrt Lua is patched and uses a different bytecode format
> compared to the official vanilla Lua release.
> 
> You can find the list of used patches here:
> https://dev.openwrt.org/browser/trunk/package/lua/patches
Some of these patches terrify me. Specifically, the opcode performance
patch. Does that really help that much? It's a pretty simplistic use
of computed goto to replace a pretty simple and small switch statement.
Also, the arch-independant bytecode one made me cry :(
B.

AltStyle によって変換されたページ (->オリジナル) /