3 ms·
Nice entry! I'm just using jsmin at the moment but I'll probably move over to using packer when I start nearing the limit. I'm on 5kb minified so far. Another
by user24 16y ago
Nice entry!
I'm just using jsmin at the moment but I'll probably move over to using packer when I start nearing the limit. I'm on 5kb minified so far.
Another little trick I made use of instead of var foo = false; I used var foo = 0; - it's falsy so you can use it in the same way but you save 4 bytes.
Obviously these kind of optimisations aren't great for readability, but that's not the goal here.