Two questions about efficiency
Steve M
humean at fea.st
Fri May 28 03:29:42 EDT 2004
Peter Otten <__peter__ at web.de> wrote
<snip>
> Two results stand out: misses are cheap for DictIn and expensive for
> DictTry.
That's very interesting, thanks so much Peter and the others.
So, contrary to your (and, incidentally, Wittgenstein's) admonition to
look not think, why, would you speculate, is this the case? The
overhead from creating an exception object?
More information about the Python-list
mailing list