File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -230,20 +230,17 @@ those described above in `Motivation`_, reflect this improvement.
230
230
Performance
231
231
-----------
232
232
233
- A naive implementation shows `a 4% slowdown `_. We have demonstrated
234
- a return to ~performance-neutral~ with a handful of basic mitigations
235
- applied. See the `mitigations `_ section below.
233
+ A naive implementation shows `a 2% slowdown `_ (3% with MSVC).
234
+ We have demonstrated a return to ~performance-neutral~ with a handful
235
+ of basic mitigations applied. See the `mitigations `_ section below.
236
+
237
+ .. _a 2% slowdown : https://github.com/python/cpython/pull/19474#issuecomment-1502245844
236
238
237
239
On the positive side, immortal objects save a significant amount of
238
240
memory when used `with a pre-fork model <Facebook >`_. Also, immortal
239
241
objects provide opportunities for specialization in the eval loop that
240
242
would improve performance.
241
243
242
- .. _a 4% slowdown : https://github.com/python/cpython/pull/19474#issuecomment-1032944709
243
-
244
- TODO: Update the performance impact for the latest branch
245
- (both for GCC and for clang).
246
-
247
244
Backward Compatibility
248
245
----------------------
249
246
You can’t perform that action at this time.
0 commit comments