On Fri, 9 Sep 2005 18:50:26 +0200, Sybren Stuvel <[EMAIL PROTECTED]> wrote: >djw enlightened us with: >> Personally, I would try Psyco first, and consider Pyrex next. > >Ok, I'll take a look at those. > >> Are you sure your algorithm can't be optimized first, before you >> start trying to write this in C? > >I'm sure there will be optimizations, but profiling showed that the >copying of the puzzles took the most time. Since the copy.deepcopy() >function is implemented it Python, I'd thought it would get quite a >speed boost when done in C instead.
Can you use a different algorithm that doesn't make so many copies? -- Email: zen19725 at zen dot co dot uk -- http://mail.python.org/mailman/listinfo/python-list