News for hackers. Stuff that matters.
Re:Attempts to make Python fast by sethgecko on Wednesday October 21, 2020 @11:43AM (#24848925)
Yuri Selivanov tweeted yesterday that Python 3.10 will be "up to 10% faster" https://twitter.com/1st1/status/1318558048265404420
Re:Attempts to make Python fast by yxhuvud on Thursday October 22, 2020 @07:04AM (#24856753)
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.
Re:Attempts to make Python fast by saeranv on Wednesday October 21, 2020 @04:04PM (#24851496)
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?
Re:Attempts to make Python fast by eznzt on Wednesday October 21, 2020 @04:45PM (#24851995)
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)
Re:Attempts to make Python fast by theandrewbailey on Wednesday October 21, 2020 @04:15PM (#24851608)
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/

Re:Attempts to make Python fast by stuaxo on Wednesday October 21, 2020 @01:18PM (#24849940)
That's pretty good, in optimisation, 5% at a time is a good win.
Re:Attempts to make Python fast by centimeter on Wednesday October 21, 2020 @12:24PM (#24849337)
That seems pretty small compared to the huge gap between python and basically any compiled language.