[Python-Dev] exception too expensive? (original) (raw)

Fredrik Lundh fredrik at pythonware.com
Sat Jul 8 18:54:50 CEST 2006


tomer filiba wrote:

i thought avoiding a second dict lookup should be faster, but it turned out to be completely wrong. it's only marginally faster, but if an exception occurs, it's x10 slower.

maybe you should take this to comp.lang.python instead...



More information about the Python-Dev mailing list