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.
230230Performance
231231-----------
232232
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
236238
237239On the positive side, immortal objects save a significant amount of
238240memory when used `with a pre-fork model <Facebook >`_. Also, immortal
239241objects provide opportunities for specialization in the eval loop that
240242would improve performance.
241243
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-
247244Backward Compatibility
248245----------------------
249246
You can’t perform that action at this time.
0 commit comments