Replies: 1 comment 1 reply
-
I don't have good answers to these questions. One of the easiest ways to use threads in Python is with For something like Sudoku, it's pretty easy to parallelize over multiple games. Here's an example, based on Peter Norvig's Python sudoku solver: Parallelizing the search in individual games is much more difficult because it's a depth first search (DFS). There are algorithms for parallel DFS but they're not simple to implement. I'm not sure it would make much sense for Sudoku either because with a fast solver the puzzles are very quick to solve. |
Beta Was this translation helpful? Give feedback.
-
Hi
Are there some simple links, examples or packages that would greatly help to program in threads for Python:
Typical usage:
Beta Was this translation helpful? Give feedback.
All reactions