Roberto Alsina napisaĆ(a): > On Wednesday 25 March 2009 15:02:45 Wojtek Walczak wrote:
>> In the examples directory in Pyjamas package, there is an app called >> dynamictable. While it's python source code is quite short (~400 lines >> of code), after compilation to JavaScript it becomes quite big. The main >> file is 527K big. My application will certainly be bigger than the >> dynamictable example and I don't want to abuse users with 2MB long >> JavaScript files. > > That's maybe 5 or 6 copies of the app, since it generates separate versions > for opera / firefox / old firefox / ie /safari /ie6 (I may be missing one ;-) Yes, you're right, but these files are ~500KB each: $ ls -sh *.cache.html 532K ie6.DynaTable.cache.html 532K opera.DynaTable.cache.html 532K mozilla.DynaTable.cache.html 532K safari.DynaTable.cache.html 532K oldmoz.DynaTable.cache.html And thus I wonder, what if my application is bigger than the dynamictable app? If my python code is longer, then after the 'compilation' to JavaScript there would be more JS code in single html file too. And the question is: how big will that file be? Thanks for answering, -- Regards, Wojtek Walczak, http://tosh.pl/gminick/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
