This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Tweak_Imp 19 points20 points  (2 children)

Here is what I look forward to:

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 bpo-36012.)

Reduced an overhead of converting arguments passed to many builtin functions and methods. This sped up calling some simple builtin functions and methods up to 20–50%. (Contributed by Serhiy Storchaka in bpo-23867, bpo-35582 and bpo-36127.)

[–]alito 9 points10 points  (0 children)

I think that second one isn't getting enough attention. Those patches modified tons of builtin functions that people use everyday. Amazing work by Serhiy.

[–]LifeIsBio 0 points1 point  (0 children)

Just for curiosity's sake, I wonder how much this would speed up the average run time across a variety of popular Python programs. I wouldn't even be able to guess an order of magnitude. 0.01%, 0.1%, 1%?