Using 'in' with a Dict

kowboy cpmcdaniel at gmail.com
Wed Feb 16 16:46:17 EST 2005


I posted too quickly. A little performance testing told me that has_key
is somewhat slower than "in". I used a large number of string keys in
my test.




More information about the Python-list mailing list