bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache (GH-24070)

This commit is contained in:
Pablo Galindo 2021-01-03 04:37:46 +00:00 committed by GitHub
parent bd2728b1e8
commit 9e8fe1986c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -426,9 +426,11 @@ Optimizations
average. average.
(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. * The ``LOAD_ATTR`` instruction now uses new "per opcode cache" mechanism. It
It is about 36% faster now. (Contributed by Pablo Galindo and Yury Selivanov is about 36% faster now. This makes optimized ``LOAD_ATTR`` instructions the
in :issue:`42093`, based on ideas implemented originally in PyPy and MicroPython.) 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 * 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.