summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2019-02-20 17:29:24 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-02-20 17:29:24 (GMT)
commitd8b9e1fc2e45d2bc3f4a9737c375f2adb8a8c7de (patch)
tree670cea6dd725af6f1676cb8440d1f5e7d305f3bf /Doc
parentb5409dacc4885146a27d06482b346e55fa12d2ec (diff)
downloadcpython-d8b9e1fc2e45d2bc3f4a9737c375f2adb8a8c7de.zip
cpython-d8b9e1fc2e45d2bc3f4a9737c375f2adb8a8c7de.tar.gz
cpython-d8b9e1fc2e45d2bc3f4a9737c375f2adb8a8c7de.tar.bz2
bpo-36012: Avoid linear slot search for non-dunder methods (GH-11907)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.8.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 6bc1314..66e1c13 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -375,6 +375,11 @@ Optimizations
This makes the created list 12% smaller on average. (Contributed by
Raymond Hettinger and Pablo Galindo in :issue:`33234`.)
+* Doubled the speed of class variable writes. When a non-dunder attribute
+ was updated, there was an unnecessary call to update slots.
+ (Contributed by Stefan Behnel, Pablo Galindo Salgado, Raymond Hettinger,
+ Neil Schemenauer, and Serhiy Storchaka in :issue:`36012`.)
+
Build and C API Changes
=======================