> Just for fun I wrote an equivalent program in C and tested the Sage function > and an equivalent C program on 1 instance of the problem.
Honestly I am not surprised, what you do in this code can be done with elementary processor operations, and Python definitely is not the best language for that ! If re-writing this thing in C told you how the current Python code in Sage should be rewritten, however, .... ;-) Nathann -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.