From: Pablo Galindo Date: Sun, 3 Jan 2021 04:37:46 +0000 (+0000) Subject: bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache (GH... X-Git-Tag: v3.10.0a4~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e8fe1986cb4205fb9f883c89b9d5d76a9847e0b;p=thirdparty%2FPython%2Fcpython.git bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache (GH-24070) --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index be529d75e13c..4181eba81cf1 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.