Free Software programmer
Subscribe This blog existed before my current employment, and obviously reflects my own opinions and not theirs. This work is licensed under a Creative Commons Attribution 2.1 Australia License.
Categories of this blog:
Older issues: |
Fri, 24 Jun 2005Sudoku 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 |