@@ -99,10 +99,11 @@ physical hardware registers).
99
99
100
100
Since much of this data varies even between identical runs of a program and the
101
101
existing optimization pipeline makes heavy use of runtime profiling information,
102
- it doesn't make much sense to compile these traces ahead of time. As has been
103
- demonstrated for many other dynamic languages (`and even Python itself
104
- <https://www.pypy.org> `__), the most promising approach is to compile the
105
- optimized micro-ops "just in time" for execution.
102
+ it doesn't make much sense to compile these traces ahead of time and would be a
103
+ substantial redesign of the existing specification and micro-op tracing infrastructure
104
+ that has already been implemented. As has been demonstrated for many other dynamic
105
+ languages (`and even Python itself <https://www.pypy.org >`__), the most promising
106
+ approach is to compile the optimized micro-ops "just in time" for execution.
106
107
107
108
Rationale
108
109
=========
@@ -138,8 +139,10 @@ code and 500 lines of runtime C code.
138
139
Specification
139
140
=============
140
141
141
- The JIT will become non-experimental once all of the following conditions are
142
- met:
142
+ The JIT is currently not part of the default build configuration, and it is
143
+ likely to remain that way for the foreseeable future (though official binaries
144
+ may include it). That said, the JIT will become non-experimental once all of
145
+ the following conditions are met:
143
146
144
147
#. It provides a meaningful performance improvement for at least one popular
145
148
platform (realistically, on the order of 5%).
@@ -525,7 +528,10 @@ likely to be a real concern.
525
528
Not much effort has been put into optimizing the JIT's memory usage yet, so
526
529
these numbers likely represent a maximum that will be reduced over time.
527
530
Improving this is a medium priority, and is being tracked in `GH-116017
528
- <https://github.com/python/cpython/issues/116017> `__.
531
+ <https://github.com/python/cpython/issues/116017> `__. We may consider
532
+ exposing configurable parameters for limiting memory consumption in the
533
+ future, but no official APIs will be exposed until the JIT meets the
534
+ requirements to be considered non-experimental.
529
535
530
536
Earlier versions of the JIT had a more complicated memory allocation scheme
531
537
which imposed a number of fragile limitations on the size and layout of the
0 commit comments