summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-01-31 22:55:48 (GMT)
committerGitHub <noreply@github.com>2021-01-31 22:55:48 (GMT)
commita776da90b8f2a1342f4f9bfd23a62cea9a0497c6 (patch)
tree4173084a2c34b8e04a17d3a01f386225baff3f6c /Doc
parent835f14ff8eec10b3d96f821a1eb46a986e00c690 (diff)
downloadcpython-a776da90b8f2a1342f4f9bfd23a62cea9a0497c6.zip
cpython-a776da90b8f2a1342f4f9bfd23a62cea9a0497c6.tar.gz
cpython-a776da90b8f2a1342f4f9bfd23a62cea9a0497c6.tar.bz2
bpo-42927: Update the What's new entry for LOAD_ATTR optimizations (GH-24383)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.10.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index cf7d1e8..3dccb7c 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -556,10 +556,10 @@ Optimizations
(Contributed by Victor Stinner in :issue:`41006`.)
* The ``LOAD_ATTR`` instruction now uses new "per opcode cache" mechanism. It
- is about 36% faster now. This makes optimized ``LOAD_ATTR`` instructions the
- current most performance attribute access method (faster than slots).
- (Contributed by Pablo Galindo and Yury Selivanov in :issue:`42093`, based on
- ideas implemented originally in PyPy and MicroPython.)
+ is about 36% faster now for regular attributes and 44% faster for slots.
+ (Contributed by Pablo Galindo and Yury Selivanov in :issue:`42093` and Guido
+ van Rossum in :issue:`42927`, based on ideas implemented originally in PyPy
+ and MicroPython.)
* When building Python with ``--enable-optimizations`` now
``-fno-semantic-interposition`` is added to both the compile and link line.