ENH: added check for scalar array in get_ufunc_arguments from ufunc_object.c
Check if object is of array dimension zero, then avoid heavy calls like PyArray_FromAny. Hence passing obj to out_op PyArrayObject unchanged. Also PyArray_FromAny(obj,NULL,0,0,0,NULL) calls PyArray_FromArray(obj,NULL,0) which return original obj
ENH: added check for scalar array in PyArray_FromArray from ctors.c
Check if object is of array dimension zero with newtype is NULL. If so return it directly instead of checking for casting.
ENH: added check for scalar array in PyArray_FromArray from ctors.c
Check if object is of array dimension zero with newtype is NULL. If so return it directly instead of checking for casting.
ENH: added check for scalar array in PyArray_FromArray from ctors.c
Check if object is of array with newtype is NULL. If so return it directly instead of checking for casting.
ENH: added check for scalar array in PyArray_FromArray from ctors.c
Check if object is of array with newtype is NULL. If so return it directly instead of checking for casting.
ENH: check for the same object in can_cast_scalar_to from convert_datatype.c
Check if two dtypes references to the same object in can_cast_scalar_to from convert_datatype.c,
then the result is always OK
Merge pull request #3509 from arinkverma/gsoc_performance

ENH: added short path scalar array in get_ufunc_arguments from ufunc_object.c