0 < 1 < 2 is about 9% faster than 1 > 0 and 1 < 2. This would really only make a difference in a tight loop that is called hundreds (or probably thousands) of times. However, personally I think the first form is also easier to read (and I am so glad Python supports it)!
-- Heikki Toivonen
signature.asc
Description: OpenPGP digital signature
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "chandler-dev" mailing list http://lists.osafoundation.org/mailman/listinfo/chandler-dev
