Re:The Story of Google's Closure: Advanced JavaScript Tools
by louismg on Monday November 09, 2009 @01:44AM
(#930526)
The direct quote from Mihai from my e-mail reads: "The benefits of the compiler system are tremendous. The most obvious are the size ones, without it Reader's JavaScript would be 2 megaytes, with it it goes down to 513K, and 184K with gzip (the compiler's output is actually optimized for gzip, since nearly all browsers support it)."
(I left in the typo for this excerpt) -- I'm the author of the piece. I can't say why Reader's JS would be so high. I assume RSS can be heavy, and many feeds at once can be browser intensive.
Re:The Story of Google's Closure: Advanced JavaScript Tools
by barrkel on Monday November 09, 2009 @02:47AM
(#930570)
There is no necessary relationship between the size of code (the JS) and the size of data ("many feeds at once"), and since data is almost always much larger than the code, there is proportionally very little benefit from reducing code size to fit more data.
Wow. That just seems wrong to me.