aboutsummaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-01-31 22:55:48 +0000
committerGitHub <noreply@github.com>2021-01-31 22:55:48 +0000
commita776da90b8f2a1342f4f9bfd23a62cea9a0497c6 (patch)
tree4173084a2c34b8e04a17d3a01f386225baff3f6c /Doc
parentbpo-43017: Improve error message for unparenthesised tuples in comprehensions... (diff)
downloadcpython-a776da90b8f2a1342f4f9bfd23a62cea9a0497c6.tar.gz
cpython-a776da90b8f2a1342f4f9bfd23a62cea9a0497c6.tar.bz2
cpython-a776da90b8f2a1342f4f9bfd23a62cea9a0497c6.zip
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 cf7d1e80758..3dccb7c5001 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.