[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Crunching Lua
- From: Stephen Kellett <lua@...>
- Date: Thu, 3 Nov 2005 13:52:36 +0000
In message <200511031122.28641.dg@cowlark.com>, David Given
<dg@cowlark.com> writes
To my surprise, running the script through luac makes things *bigger* ---
presumably due to inefficient opcode encoding. Can anyone suggest any other
strategies I could adopt?
Would it be possible for you to identify all the unique words in the
file and encode then using your own scheme and then reconstruct the
script using this at run time? Doesn't sound much different to
compressing the script using gzip and then decompressing prior to
execution.
Stephen
--
Stephen Kellett
Object Media Limited http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting