From: Pablo Galindo Date: Sun, 31 Jan 2021 22:55:48 +0000 (+0000) Subject: bpo-42927: Update the What's new entry for LOAD_ATTR optimizations (GH-24383) X-Git-Tag: v3.10.0a5~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a776da90b8f2a1342f4f9bfd23a62cea9a0497c6;p=thirdparty%2FPython%2Fcpython.git bpo-42927: Update the What's new entry for LOAD_ATTR optimizations (GH-24383) --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index cf7d1e80758a..3dccb7c50019 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -556,10 +556,10 @@ Optimizations (Contributed by Victor Stinner in :issue:`41006`.) * 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.) + is about 36% faster now for regular attributes and 44% faster for slots. + (Contributed by Pablo Galindo and Yury Selivanov in :issue:`42093` and Guido + van Rossum in :issue:`42927`, 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.