On Sat, 23 Feb 2002 15:11:41 +0000 Adam Olsen <[EMAIL PROTECTED]> wrote:
> On Sat, Feb 23, 2002 at 02:19:49PM +0000, Lazarus Long wrote: > > What is the point of pre-compiling C code before packaging it into > > .debs? If you can answer that, apply that answer to Python code. > > First off, in python the source IS the program. Like perl, it > byte-compiles as an optimization at runtime. But unlike perl, it has > the ability to cache the byte-compiled version to the disk to speed up > future runs. Clarification: This _only_ happens to IMPORTed modules, not the main script. -- +------------------------------------------------------------+ | Ron Johnson, Jr. Home: [EMAIL PROTECTED] | | Jefferson, LA USA http://ronandheather.dhs.org:81 | | | | 484,246 sq mi are needed for 6 billion people to live, 4 ! ! persons per lot, in lots that are 60'x150'. | ! That is ~ California, Texas and Missouri. ! ! Alternatively, France, Spain and The United Kingdom. | +------------------------------------------------------------+