File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,9 @@ configuration mechanisms).
224224A new type of interpreter
225225-------------------------
226226
227- A new type of interpreter based on tail calls has been added to CPython.
227+ A new type of interpreter has been added to CPython.
228+ It uses tail calls between small C functions that implement individual
229+ Python opcodes, rather than one large C case statement.
228230For certain newer compilers, this interpreter provides
229231significantly better performance. Preliminary numbers on our machines suggest
230232anywhere from -3% to 30% faster Python code, and a geometric mean of 9-15%
Original file line number Diff line number Diff line change 448448 <OldPyConfigH Condition =" Exists('$(IntDir)pyconfig.h')" >$([System.IO.File]::ReadAllText('$(IntDir)pyconfig.h'))</OldPyConfigH >
449449 </PropertyGroup >
450450 <PropertyGroup Condition =" $(DisableGil) == 'true'" >
451- <PyConfigHText >$(PyConfigHText.Replace('#undef Py_GIL_DISABLED', '#define Py_GIL_DISABLED 1'))</PyConfigHText >
451+ <PyConfigHText >$(PyConfigHText.Replace('/* #define Py_GIL_DISABLED 1 */ ', '#define Py_GIL_DISABLED 1'))</PyConfigHText >
452452 </PropertyGroup >
453453 <Message Text =" Updating pyconfig.h" Condition =" $(PyConfigHText.TrimEnd()) != $(OldPyConfigH.TrimEnd())" />
454454 <WriteLinesToFile File =" $(IntDir)pyconfig.h"
You can’t perform that action at this time.
0 commit comments