Add PEP 280, optimizing access to globals.
This commit is contained in:
parent
27577312e1
commit
a910cef566
|
@ -90,6 +90,7 @@ Index by Category
|
|||
S 277 Unicode file name support for Windows NT Hodgson
|
||||
S 278 Universal Newline Support Jansen
|
||||
S 279 Enhanced Generators Hettinger
|
||||
S 280 Optimizing access to globals Montanaro, Hylton, van Rossum, Peters
|
||||
|
||||
Finished PEPs (done, implemented in CVS)
|
||||
|
||||
|
@ -241,6 +242,7 @@ Numerical Index
|
|||
S 277 Unicode file name support for Windows NT Hodgson
|
||||
S 278 Universal Newline Support Jansen
|
||||
S 279 Enhanced Generators Hettinger
|
||||
S 280 Optimizing access to globals Montanaro, Hylton, van Rossum, Peters
|
||||
SR 666 Reject Foolish Indentation Creighton
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
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!)
|
Loading…
Reference in New Issue