3 ms·
I believe it's already going through Google Closure. That's what {:optimizations :advanced} does. I'm certain it's a one time cost. Though I suspect that giv
by ericmoritz 15y ago
I believe it's already going through Google Closure. That's what {:optimizations :advanced} does.
I'm certain it's a one time cost. Though I suspect that given that Closure [optimizes out unused code](http://blog.fogus.me/2011/07/21/compiling-clojure-to-javascript-pt1/ http://blog.fogus.me/2011/07/21/compiling-clojure-to-javascr...) the more I use of the goog namespace, the larger that baseline will become.
That being said, 30k is the size of minified jQuery, so folks that are alright with building apps on jQuery won't find 30k to be that terrible.
- wooby 15y agoIt's a one-time cost, but we're also not done improving Closure Compiler's ability to minify core. There's a lot of Closure Compiler-specific metadata we're not leveraging yet, and our goal is to reduce the baseline to much, much less.