summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-01-03 04:37:46 (GMT)
committerGitHub <noreply@github.com>2021-01-03 04:37:46 (GMT)
commit9e8fe1986cb4205fb9f883c89b9d5d76a9847e0b (patch)
tree1929c16afd419243c4921b0489df9d663ee59a2f
parentbd2728b1e8a99ba8f8c2d481f88aeb99b8b8360f (diff)
downloadcpython-9e8fe1986cb4205fb9f883c89b9d5d76a9847e0b.zip
cpython-9e8fe1986cb4205fb9f883c89b9d5d76a9847e0b.tar.gz
cpython-9e8fe1986cb4205fb9f883c89b9d5d76a9847e0b.tar.bz2
bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache (GH-24070)
-rw-r--r--Doc/whatsnew/3.10.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index be529d7..4181eba 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -426,9 +426,11 @@ Optimizations
average.
(Contributed by Victor Stinner in :issue:`41006`.)
-* The ``LOAD_ATTR`` instruction now uses new "per opcode cache" mechanism.
- It is about 36% faster now. (Contributed by Pablo Galindo and Yury Selivanov
- in :issue:`42093`, based on ideas implemented originally in PyPy and MicroPython.)
+* 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.)
* When building Python with ``--enable-optimizations`` now
``-fno-semantic-interposition`` is added to both the compile and link line.