Hacker News new | ask | show | jobs
by sethgecko 2062 days ago
Yuri Selivanov tweeted yesterday that Python 3.10 will be "up to 10% faster" https://twitter.com/1st1/status/1318558048265404420
4 comments

Wait, python doesn't have any method lookup caching before this? I would have expected that developers looked at what other similar languages are doing, but apparently not enough.
Am I correct that 3.10 comes after 3.9? How does that make sense, shouldn't it increase to 4.x? Is there an actual 3.1 (coming after 3.0) that this conflicts with?
Version numbers are not decimal numbers, they are read like the chapters of a book: 3.10 (chapter 3 section 10) comes after 3.9 (chapter 3 section 9)
10 comes after 9, so 3.10 comes after 3.9. There's no major changes that would warrant 3.x to 4.0. It's just the 10th big release after 3.0.

Yes, there was a Python 3.1: https://www.python.org/download/releases/3.1/

That's pretty good, in optimisation, 5% at a time is a good win.
That seems pretty small compared to the huge gap between python and basically any compiled language.