[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua bytecode doesn't compress well (with LZMA)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 2 Dec 2009 13:35:49 -0200
> > LuaSrcDiet is pure Lua. lstrip is in C.
> If both of those were written by me, I know which one _I'd_ use :-)
One advantage of lstrip is that it uses the lexer from the Lua core and
so is consistent with what Lua sees. On the other hand, lstrip is too
clever (or lazy) for its own good: it redefines luaY_parser and so can
only be used as a standalone program, not as a library.