Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrease the size of the Python distribution. #8

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 3 comments
Closed

Decrease the size of the Python distribution. #8

GoogleCodeExporter opened this issue Mar 19, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

The binaries have already been stripped and are built with -Os. The pure
Python libraries are compressed pyc files. There's probably still more that
can be done to reduce the overall size.

Original issue reported on code.google.com by damonkoh...@gmail.com on 29 May 2009 at 3:27

@GoogleCodeExporter
Copy link
Author

Here is a data point.  According to settings/Applications/Manage, the size of 
python
2.6 in AndroidScriptingEnvironment-0.11-alpha.apk is 6.39 MB.  Added to the 316 
kB
size of the base ASE application, the total is then 6.70 MB.  That is really 
big for
an android app, especially on G1 phones that only have a few score MB to start 
with.
The newer devices have significantly more space.  E.g. "settings/sd card & phone
storage" on the Magic shows "available space" of 261 MB for me right now....

Original comment by neal...@gmail.com on 24 Aug 2009 at 9:38

@GoogleCodeExporter
Copy link
Author

I've reduced the size about as much as possible by moving all the pure-Python 
stdlib 
modules to the SD card. Further size reduction would require removing .so libs 
(which 
is surely still possible, though I'm not sure exactly which are best to 
remove). ASE 
with just Python installed now takes 4.35 MB of main memory.

Original comment by damonkoh...@gmail.com on 10 Sep 2009 at 3:47

@GoogleCodeExporter
Copy link
Author

I think the cost to benefit ratio of this issue is too high. Closing.

Original comment by damonkoh...@gmail.com on 28 Feb 2010 at 8:31

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant