From: Jason S. <jm...@gm...> - 2017-01-23 21:32:26
|
Has there been any recent work on making a Jython 2.7 standalone "lite" package, with a smaller .jar size? (2.5.3 was 13.7M, 2.7 is 35.3M) Some of us don't need the unicodedata module or the functionality in bouncycastle or netty, and it would be nice to be able to use Jython without these features if it reduces the .jar footprint. thanks, Jason Sachs ----- https://sourceforge.net/p/jython/mailman/message/33521633/ *Re: [Jython-dev] ImportError: No module named site <https://sourceforge.net/p/jython/mailman/message/33521633/>* From: Jim Baker <jim.baker@py...> - 2015-03-02 17:45:58 *Attachments:* Message as HTML <https://sourceforge.net/p/jython/mailman/attachment/CAOhO%3DaPDW9ZxeQRs%2BqhjQxtOGodODKM9QftXKhAEtOxvnUSocg%40mail.gmail.com/1/> On Mon, Mar 2, 2015 at 10:34 AM, David Charles <david.charkowsky@...> wrote: > Alex, > > Thank you for your reply. Yes, I am using the standalone jar. Here are > my file sizes: > > $ ls -l jython-standalone* > -rw-r--r-- 1 12345 users 13432713 Jun 12 2013 jython-standalone-2.7-b1.jar > -rw-r--r-- 1 12345 users 28913501 Nov 4 14:25 jython-standalone-2.7-b3.jar > -rw-r--r-- 1 12345 users 35018318 Feb 26 16:14 jython-standalone-2.7-b4.jar > > The only one that works for me is b1. On the client, I am using javaws > -clearcache between tests. > > Wow, jython-standalone-2.7-b4.jar is 34Mb? > Yes, sorry about that. We are focused on correctness first, then we will go and trim down in subsequent 2.7.x releases, where x > 0. A huge chunk of that additional bloat is supporting unicodedata and the corresponding ICU4J jar we now use. It should be a straightforward matter of programming to remove this ICU4J dependency. Possibly this and other optimizations, especially startup time, would be suitable for a Google Summer of Code student, given that we are planning to participate this summer. - Jim |