Looping [was Re: Python and the need for speed]

Gregory Ewing greg.ewing at canterbury.ac.nz
Mon Apr 17 19:01:50 EDT 2017


Marko Rauhamaa wrote:
> What I notice in my numbers is that about one half of my while loops are
> "while True", and about a third of my loops are while loops.

Out of curiosity, what proportion of your 'while True' loops
are infinite? (I.e. no break, return or raise in the loop.)

-- 
Greg



More information about the Python-list mailing list