[Tutor] If statement optimization

bodsda at googlemail.com bodsda at googlemail.com
Fri Sep 16 09:41:23 CEST 2011


Hi,

In a normal if,elif,elif,...,else statement, are the conditions checked in a linear fashion?

I am wondering if I should be making an effort to put the most likely true condition at the beginning of the block

Thanks,
Bodsda 
Sent from my BlackBerry® wireless device


More information about the Tutor mailing list