[Numpy-discussion] Array concatenation performance

Sturla Molden sturla at molden.no
Thu Jul 15 13:38:17 EDT 2010


Sorry for the previous mispost.

This thread remids me of something I've though about for a while: Would 
NumPy benefit from an np.ndarraylist subclass of np.ndarray, that has an 
O(1) amortized append like Python lists? (Other methods of Python lists 
(pop, extend) would be worth considering as well.) Or will we get the 
same performance by combining a Python list and ndarray?

Sturla



More information about the NumPy-Discussion mailing list