bpo-42927: Update the What's new entry for LOAD_ATTR optimizations (GH-24383)
This commit is contained in:
parent
835f14ff8e
commit
a776da90b8
@ -556,10 +556,10 @@ Optimizations
|
|||||||
(Contributed by Victor Stinner in :issue:`41006`.)
|
(Contributed by Victor Stinner in :issue:`41006`.)
|
||||||
|
|
||||||
* The ``LOAD_ATTR`` instruction now uses new "per opcode cache" mechanism. It
|
* The ``LOAD_ATTR`` instruction now uses new "per opcode cache" mechanism. It
|
||||||
is about 36% faster now. This makes optimized ``LOAD_ATTR`` instructions the
|
is about 36% faster now for regular attributes and 44% faster for slots.
|
||||||
current most performance attribute access method (faster than slots).
|
(Contributed by Pablo Galindo and Yury Selivanov in :issue:`42093` and Guido
|
||||||
(Contributed by Pablo Galindo and Yury Selivanov in :issue:`42093`, based on
|
van Rossum in :issue:`42927`, based on ideas implemented originally in PyPy
|
||||||
ideas implemented originally in PyPy and MicroPython.)
|
and MicroPython.)
|
||||||
|
|
||||||
* When building Python with ``--enable-optimizations`` now
|
* When building Python with ``--enable-optimizations`` now
|
||||||
``-fno-semantic-interposition`` is added to both the compile and link line.
|
``-fno-semantic-interposition`` is added to both the compile and link line.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user