[Numpy-discussion] Performance of the array protocol

Travis Oliphant oliphant at ee.byu.edu
Tue Nov 1 09:22:53 EST 2005

Francesc Altet wrote:

>BTW, I'm wondering whether a False value for copy should be used as the
>default instead of True. IMO, many people would want to make use of the
>array protocol just to access easily the data, and making a copy()
>behind the scenes just for this might be potentially killer, specially
>for large objects.
Thats exactly what the asarray function is for.  It is equivalent to 
array except its default for copy is False.


More information about the NumPy-Discussion mailing list