Bruno Desthuilliers wrote: >> on my machine, "key in dict" is about twice as fast as the full >> try/getitem construct when the key is present in the dict, > > Doesn't it depends on the number of keys in the dict ?
why would it depend on the number of keys in the dict ? </F> -- http://mail.python.org/mailman/listinfo/python-list