Skip to content

Commit a776da9

Browse files
authored
bpo-42927: Update the What's new entry for LOAD_ATTR optimizations (GH-24383)
1 parent 835f14f commit a776da9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,10 @@ Optimizations
556556
(Contributed by Victor Stinner in :issue:`41006`.)
557557
558558
* The ``LOAD_ATTR`` instruction now uses new "per opcode cache" mechanism. It
559-
is about 36% faster now. This makes optimized ``LOAD_ATTR`` instructions the
560-
current most performance attribute access method (faster than slots).
561-
(Contributed by Pablo Galindo and Yury Selivanov in :issue:`42093`, based on
562-
ideas implemented originally in PyPy and MicroPython.)
559+
is about 36% faster now for regular attributes and 44% faster for slots.
560+
(Contributed by Pablo Galindo and Yury Selivanov in :issue:`42093` and Guido
561+
van Rossum in :issue:`42927`, based on ideas implemented originally in PyPy
562+
and MicroPython.)
563563
564564
* When building Python with ``--enable-optimizations`` now
565565
``-fno-semantic-interposition`` is added to both the compile and link line.

0 commit comments

Comments
 (0)