]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache (GH...
authorPablo Galindo <Pablogsal@gmail.com>
Sun, 3 Jan 2021 04:37:46 +0000 (04:37 +0000)
committerGitHub <noreply@github.com>
Sun, 3 Jan 2021 04:37:46 +0000 (04:37 +0000)
Doc/whatsnew/3.10.rst

index be529d75e13c05e67247ec06e0b4a60a54196d20..4181eba81cf13307d71e8879461d88dc5170d92e 100644 (file)
@@ -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.