[Patches] [Patch #103252] Startup optimize: read *.pyc as string, not with getc()

noreply@sourceforge.net noreply@sourceforge.net
Mon, 15 Jan 2001 20:05:42 -0800


Patch #103252 has been updated. 

Project: python
Category: core (C code)
Status: Open
Submitted by: pj99
Assigned to : nobody
Summary: Startup optimize: read *.pyc as string, not with getc()

Follow-Ups:

Date: 2001-Jan-15 20:05
By: tim_one

Comment:
I like the idea, but gimmicks like this make porting to tiny platforms
harder when pushed "too far".

People concerned about startup time seem mostly to deal with apps that e.g.
fire up Python 1000s of times from shell scripts or cgi.  They're not going
to care about monster modules (like Tkinter and grail).  So I think Paul's
original 64K is a good compromise.

-------------------------------------------------------

Date: 2001-Jan-15 19:39
By: gvanrossum

Comment:
Not a bad idea.

I'd up the limit to 256K so Tkinter.pyc (comfortably) fits.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=103252&group_id=5470