jython独立罐子,包装清单减少了吗? [英] jython standalone jar with reduced package list?

查看:103
本文介绍了jython独立罐子,包装清单减少了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新版本的Jython 2.7.0独立版的大小为36155 KB;先前发布的2.5.3版本为14005 KB.

The new version of Jython 2.7.0 standalone weighs in at 36155 KB; the previous released version 2.5.3 is 14005 KB.

如果不需要某些Python软件包,是否有任何方法可以从.jar文件中安全删除功能?我想使用更新的Jython版本,但是文件大小现在是一个问题,比2.5.3还要重要.

Is there any way to safely remove functionality from the .jar file, if certain Python packages are not needed? I want to use the updated Jython release but the file size is an issue now, much more so than 2.5.3.

推荐答案

从Jython开发人员邮件列表中:

From the Jython developer mailing list:

是的,对此感到抱歉.我们首先专注于正确性,然后我们 将在随后的2.7.x版本中进行修剪,其中x> 0. 额外膨胀的很大一部分是支持unicodedata, 我们现在使用的相应ICU4J jar.

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.

删除它应该是直接编程问题 ICU4J依赖性.可能是此优化和其他优化,尤其是 启动时间,适合Google Summer of Code学生, 鉴于我们计划今年夏天参加.

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.

这篇关于jython独立罐子,包装清单减少了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆