When using vstack or hstack for large arrays, are there any performance
penalties eg. takes longer time-wise or makes a copy of an array during
operation ?___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
On Fri, 2014-01-24 at 06:13 -0800, Dinesh Vadhia wrote:
When using vstack or hstack for large arrays, are there any
performance penalties eg. takes longer time-wise or makes a copy of an
array during operation ?
No, they all use concatenate. There are only constant overheads on top
of the
If A is very large and B is very small then np.concatenate(A, B) will copy
B's data over to A which would take less time than the other way around - is
that so?
Does 'memory order' mean that it depends on sufficient contiguous
memory being available for B otherwise it will be fragmented or
On Fri, Jan 24, 2014 at 4:01 PM, Dinesh Vadhia dineshbvad...@hotmail.com
wrote:
If A is very large and B is very small then np.concatenate(A, B) will copy
B's data over to A which would take less time than the other way around -
is
that so?
No, neither array is modified in-place. A new array