numpy/numpy — pull request #4902 by juliantaylor (2014-07-24 23:34:34+00:00)
Title: ENH: add a ndarray super-fast path to _array_from_object

When the argument is exactly an ndarray and the rest of the arguments
are their defaults we can skip the very slow
PyArg_ParseTupleAndKeywords.
This improves np.array(ndarray, copy=False) performance by about a
factor three and np.asarray(ndarray) by about a factor of two.

also add some interned strings to multiarraymodule