[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua bytecode doesn't compress well (with LZMA)
- From: Matthew Wild <mwild1@...>
- Date: Mon, 30 Nov 2009 19:03:19 +0000
2009/11/30 Rob Kendrick <lua-l@nun.org.uk>:
> On Tue, 01 Dec 2009 01:15:06 +0800
> KHMan <keinhong@gmail.com> wrote:
>
>> You can create a custom format that is aware of certain
>> characteristics of binary chunks (like what some archivers do to
>> improve compression of executables) but IMHO, it's not really
>> worth the effort. Is it really necessary?
>
> No, it's not. If I were the OP, I'd be content with simply stripping
> whitespace from the source, and gzipping it. It's only worth shipping
> bytecode if your platform's so tiny as to not be able to contain the
> compiler.
>
Shameless promotion: http://matthewwild.co.uk/projects/squish
Does just what it says on the tin... bytecode compilation yields
*much* larger results.
Matthew