[Numpy-discussion] Array concatenation performance

Sturla Molden sturla@molden...
Thu Jul 15 12:38:17 CDT 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