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
jpjacobs
Member
***


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): http://forum.luahub.com/index.php?topic=...38#msg5338
projectpage: http://matthewwild.co.uk/projects/squish/

Greets,

Jan-Pieter

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
Post Reply  Post Thread 

Messages In This Thread
Squish sourcecode squisher - jpjacobs - 10-11-2010 09:02 PM
RE: Squish sourcecode squisher - JohnMurga - 10-13-2010, 06:54 AM

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

Forum Jump: