Repository navigation
ENH: copy ndarrays if they are encountered in setArrayFromSequence - #3696
Conversation
By avoiding the elementwise copy array([a,b,c]) is now as fast as vstack([a,b,c])
|
almost solves the performance issue Graeme Belt reported on the list. (3.4s -> 0.55s) the rest is inefficient short circuit reduction for multidimensional arrays. |
|
Looks good to me
|
ENH: copy ndarrays if they are encountered in setArrayFromSequence
By avoiding the elementwise copy array([a,b,c]) is now as
fast as vstack([a,b,c])