whak information 13 glöps

- general:
- level: user
- personal:
- first name: Dave
- last name: Brown
- demotool JavaScript 1KB JavaScript Packer
- Updated it so you can see words being replaced. Now someone could just use it to to find all repeated phrases in their script and ignore the packer part. I sometimes throw in some HTML from a web page to suck out "keywords" for me and list them out.
- isokadded on the 2014-11-14 02:22:03
- demotool JavaScript 1KB JavaScript Packer
- p01, oh wow. It really is a cut down version of my scriptcompress.com to demonstrate my original idea of simple search and replace to bring file size down. If the script doesn't have much repetition, then results will suck bad compared to other demoscene packers. But someone could pack with mine and then use another packer to packed the already packed.
I will work on some comparisons at least.
Size of original? The original of this script before I hacked it down was about 200KB, but after ridding of much of the minifying stuff (removal of comments, whitespace, cleaning, parsing, debugger), I was left with 2.5KB of HTML and JavaScript that I packed down to 0.99KB (had to add couple characters to make exactly 1,024 bytes. - isokadded on the 2014-11-14 02:11:25
- demotool JavaScript 1KB JavaScript Packer
- Greets. I am a newbie here. I have been an admirer of the demo scene since mid 90s. Hope I am going about posting here right and hope not to annoy anyone (too much).
Anyhow...
In the screen shot you see 2 text boxes. Top is the original JavaScript source code & the bottom textarea is the generated packed script. This sample starts out with a 3,106 byte sample and packs it to 2,068 bytes. Not massive savings, but about 1/3 knocked off without any compression, isn't too bad.
My Google+: http://google.com/+DaveBrown - rulezadded on the 2014-11-13 11:22:51
account created on the 2014-11-13 10:12:15