Which is faster? (if not b in m) or (if m.count(b) > 0)

Steve Holden steve at holdenweb.com
Wed Feb 15 23:08:21 EST 2006


Steven D'Aprano wrote:
[...]
(On the other hand, lousy testing is practically worthless.)

+1 QOTW
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list