lua-users home
lua-l archive

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


On Wed, Dec 15, 2010 at 3:54 PM, Mike Pall <mikelu-1012@mike.de> wrote:
> Peter Cawley wrote:
>> From my experience of trying to abuse Lua bytecode, I've decided to
>> attack the other side of the problem, and attempt to write a module
>> which verifies Lua 5.2 bytecode as non-malicious.
>
> I tried it on a few moderately complex Lua files and the result is
> a bit depressing ...
>
> Ok, so loading (unverified) bytecode is substantially faster than
> parsing Lua source code (around 6x). But the verifier seriously
> slows things down: verifying + loading bytecode is only about 20%
> faster than parsing Lua source code.

The just-committed r11 should be faster.