I just downloaded Python 2.5 on my iBook, and I ran my stats script for the sudoku solver. Check the improvement:
{01:29}[vince@macvince: sudoku]$ time python2.4 stats.py
Easy puzzles : 48 out of 48 (100.00%) puzzles were solved
Medium puzzles: 50 out of 50 (100.00%) puzzles were solved
Hard puzzles : 32 out of 53 (60.38%) puzzles were solved
Evil puzzles : 0 out of 54 (0.00%) puzzles were solved
real 3m11.721s
user 2m16.969s
sys 0m2.600s
{01:32}[vince@macvince: sudoku]$ time python2.5 stats.py
Easy puzzles : 48 out of 48 (100.00%) puzzles were solved
Medium puzzles: 50 out of 50 (100.00%) puzzles were solved
Hard puzzles : 32 out of 53 (60.38%) puzzles were solved
Evil puzzles : 0 out of 54 (0.00%) puzzles were solved
real 1m17.814s
user 0m56.440s
sys 0m1.139s
{01:33}[vince@macvince: sudoku]$
That’s 2.5 times faster. People who have Python software, benchmark them on 2.4 and 2.5 and let me know if there’s a noticeable speed improvement.
A couple months ago the Python folks had a “Need For Speed” code sprint that resulted in a number of speed increases they wanted to get in for 2.5, I imagine some of what your seeing is a result of that code sprint:
http://wiki.python.org/moin/NeedForSpeed/Successes