Nested loop limit?

Peter Hansen peter at engcorp.com
Sun Jul 11 21:57:51 EDT 2004


Dan Christensen wrote:

> I've actually toyed with the idea of having the program generate the
> code (maybe in Python) on the fly, compile it (e.g. with psyco), and
> then run it.  But with Python's limit of 20 nested loops, that won't
> fly. 

Maybe Pyrex does not have such a limit, or at least has a higher
one.  Then you could generate the Pyrex code on the fly, and
maybe still get C performance.



More information about the Python-list mailing list