Fri, 24 Jun 2005

Sudoku Revisited

Andrew Bennetts send Email pointing out that with Python 2.4, you can use the built-in set type, which speeds my sudoku program by a factor of more than two: indeed, a simple change makes it only 57x slower than the C implementation, vs 120x.
[/tech] permanent link