Nested loop limit?

Ville Vainio ville at spammers.com
Sun Jul 11 04:40:12 EDT 2004


>>>>> "Dan" == Dan Christensen <jdc at uwo.ca> writes:

    Dan> I'm converting much of this project to python, but will
    Dan> probably keep this part in C and wrap it with SWIG.

While agreeing with Peter about the table driven approach (possibly
with some recursion thrown in, the number of recursion levels is not
so limited), your code seems like a textbook example of code where C
performance is going to murder Python performance, so keeping it in C
might indeed make sense if it's run often...

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list