[Python-Dev] speeding up PyObject_GetItem

Raymond Hettinger python at rcn.com
Tue Mar 24 23:15:29 CET 2009


> 4% on a micro-micro-benchmark is hardly compelling...

I concur!  This is utterly insignificant and certainly does
not warrant removing the checks.

-1 on these sort of fake optimizations.  We should focus
on algorithmic improvements and eliminating redundant
work and whatnot.  Removing checks that were put 
there for a reason doesn't seem useful at all.


Raymond


More information about the Python-Dev mailing list