File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,3 +112,27 @@ Some smaller changes made to the core Python language are:
112112
113113
114114.. ======================================================================
115+
116+
117+ Optimizations
118+ -------------
119+
120+ Major performance enhancements have been added:
121+
122+ * The new I/O library (as defined in :pep: `3116 `) was mostly written in
123+ Python and quickly proved to be a problematic bottleneck in Python 3.0.
124+ In Python 3.1, the I/O library has been entirely rewritten in C and is
125+ 2 to 20 times faster depending on the task at hand. The pure Python
126+ version is still available for experimentation purposes through
127+ the ``_pyio `` module.
128+
129+ (Contributed by Amaury Forgeot d'Arc and Antoine Pitrou.)
130+
131+ * A new configure flag, ``--with-computed-gotos ``, enables a faster opcode
132+ dispatch mechanism on compilers which support it. Speedups of up to 20%
133+ have been observed, depending on the system and compiler.
134+
135+ (Contributed by Antoine Pitrou, :issue: `4753 `.)
136+
137+
138+ .. ======================================================================
You can’t perform that action at this time.
0 commit comments