[NumPy-Tickets] [NumPy] #1779: array.tolist() speed enhancement

NumPy Trac numpy-tickets@scipy....
Wed Mar 23 12:43:41 CDT 2011


#1779: array.tolist() speed enhancement
-------------------------+--------------------------------------------------
 Reporter:  Han          |       Owner:  somebody    
     Type:  enhancement  |      Status:  needs_review
 Priority:  normal       |   Milestone:  1.6.0       
Component:  Other        |     Version:  devel       
 Keywords:  tolist       |  
-------------------------+--------------------------------------------------

Comment(by Han):

 When using multi-dimensional arrays, the advantage of this patch goes
 away.. Maybe it would be better to improve the conversion mechanism,
 instead..

 To convert 20 times 50000x10x10 arrays still takes up to 150 seconds with
 patch, against 180 seconds without patch. (Python takes about 50 seconds
 from a list comprehension.)

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1779#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list