numpy/numpy — pull request #4044 by juliantaylor (2013-11-12 17:58:25+00:00)
Title: ENH: check if type is basic python type before checking for __numpy_ufunc__

improves performance of scalar conversions (x + .5) by ~30%.