From 9e8fe1986cb4205fb9f883c89b9d5d76a9847e0b Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sun, 3 Jan 2021 04:37:46 +0000 Subject: [PATCH] bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache (GH-24070) --- Doc/whatsnew/3.10.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index be529d75e13..4181eba81cf 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.