4 ms·
You also would not be able to minify it properly because of whitespace identation constraints. Or am I off on this?
by ttt_ 15y ago
You also would not be able to minify it properly because of whitespace identation constraints. Or am I off on this?
- lloeki 15y agoMinifying is a compression hack. Just get the files served compressed with a proper algorithm. gzip compresses whitespace just fine.
- read_wharf 15y agoYou can compact a lot of whitespace out of python. $ cat hello.py def helloooo(): print "helloooo" print "SLAM!" helloooo() $ cat hellomin.py def helloooo(): print "helloooo"; print "SLAM!" helloooo()
- hannes2000 15y agoOr you could deliver your JSVM bytecode as binary files (which reveals a new set of drawbacks)
- hetman 15y agoIf we're compiling to bytecode there is no need to minify.