Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Python init (was: bash vs. python scripts - which one is better?)

From: Rick Thomas <rbthomas55(at)pobox.com>
Date: Tue Aug 21 2007 - 14:07:23 EDT

On Aug 20, 2007, at 10:45 PM, Steve Lamb wrote:

> When it comes to Python in a role of system initialization
> there are some very simple things one can do that would
> dramatically increase load times. First off the pre-compiling of
> modules that Python does means subsequent boots would not have to
> go through that step. One could ship the distribution with those
> modules pre-compiled and only edits from that point out would be
> compiled on their first run.

Hmmm... Now, that's a problem! During the early part of the boot process the root filesystem is read-only until it's been fsck'ed. There's no safe place to put the compiled modules.

Not to mention that moving 10 MB of Python from /usr/bin and /usr/lib to /bin and /lib would increase the size of the root filesystem by 10%-20% on embedded systems -- where the size of things that must be in flash is a critical resource.

Rick

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Aug 21 14:08:09 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:37:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library