[Numpy-discussion] vstack and hstack performance penalty
sebastian at sipsolutions.net
Fri Jan 24 09:58:26 EST 2014
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 necessary data copying. Though performance may vary because of
memory order, etc.
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
More information about the NumPy-Discussion