40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
|
PEP: 280
|
||
|
Title: Optimizing access to globals
|
||
|
Version: $Revision$
|
||
|
Last-Modified: $Date$
|
||
|
Author: skip@pobox.com, jeremy@alum.mit.edu, guido@python.org, tim.one@comcast.net,
|
||
|
Status: Draft
|
||
|
Type: Standards Track
|
||
|
Created: 10-Feb-2002
|
||
|
Python-Version: 2.3
|
||
|
Post-History:
|
||
|
|
||
|
|
||
|
Abstract
|
||
|
|
||
|
This PEP attempts to summarize various approaches for avoiding the
|
||
|
dictionary lookup for accessing globals and built-ins in most
|
||
|
cases. There are several competing approaches, which originated
|
||
|
in historical order by authors Montanaro, Hylton, and Van Rossum.
|
||
|
The fourth author is added for his valuable feedback during all
|
||
|
stages.
|
||
|
|
||
|
The expectation is that eventually one approach will be picked and
|
||
|
implemented; possibly multiple approaches will be prototyped
|
||
|
first.
|
||
|
|
||
|
|
||
|
Montanaro's approach: tracking globals
|
||
|
|
||
|
XXX (Skip, please check in a description!).
|
||
|
|
||
|
|
||
|
Hylton's approach: using a dlict
|
||
|
|
||
|
XXX (Jerely, please check in a description!)
|
||
|
|
||
|
|
||
|
Van Rossum's approach: using a celldict
|
||
|
|
||
|
XXX (Guido, please check in a description!)
|