News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Squish sourcecode squisher
Author Message

Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #1
Squish sourcecode squisher

In the spirit of the possibility of using murgalua_core etc, I thought this could be of interest.
It's a source code squisher combiner, which reduces the size of a pure Lua project and combines them in a self extracting lua executable.
And it packs arbitrary resource files along with the code... The only thing required is Lua itself. When not using the gzip module, loading times are only increased by hunderds of a second compared to the uncompressed sourcecode.

For example: the Widgets Demo (Beta 4) weighs in (all inclusive) at 984kB
squish --virtual-io --minify-level=full -> 79kB (8.0 % of original size)
squish --virtual-io --minify-level=full --uglify --uglify-level=full -> 58kB (5.8% of original size)
squish --virtual-io --minify-level=full --uglify --uglify-level=full --gzip -> 25kB (2.5% of original size)

And as a pure-Lua library it works marvelous with murgaLua Smile

link to luaforums (announcement sporting a striking example):



This post was last modified: 10-11-2010 09:40 PM by jpjacobs.

10-11-2010 09:02 PM
Find all posts by this user Quote this message in a reply

Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #2
RE: Squish sourcecode squisher

Wow, it is all happening at the same time ...

They just released this version a couple of days ago.

I did look at this a little time back, but now it seems a lot better.

Thanks for the links

John de Murga

10-13-2010 06:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: