Sudoku solver

Chris Angelico rosuav at gmail.com
Sat Mar 28 20:12:28 EDT 2015


On Sun, Mar 29, 2015 at 10:50 AM, BartC <bc at freeuk.com> wrote:
> Using the OP's algorithm, and testing with the 'hard' puzzle posted by Ian
> Kelly, I got these approximate results:
>
> Python 3.1:     1700 seconds     (normal Python interpreter)
> PyPy:           93 seconds
> C unoptimised:  17 seconds       (gcc -O0 32-bit)
> C optimised:    3.3 seconds      (gcc -O3 32-bit)
> (X:             170 seconds)

Nice stats. Any chance you can add CPython 3.4 or 3.5 to that? That's
a pretty old CPython you're using.

ChrisA



More information about the Python-list mailing list