[Numpy-discussion] Faster fill

Sasha ndarray at mac.com
Mon Feb 27 16:13:07 CST 2006


I''ve just posted a patch at
http://projects.scipy.org/scipy/numpy/wiki/PossibleOptimizationAreas
that results in a 6-14x speed-up of  ndarray.fill for simple
datatypes.  That's a bigger change than what I am confortable
submiting to svn without a review.  Also since I am not familiar with
record arrays, I am not sure whether or not this change would break
anything in that area.  Finally, the patch only adresses a
single-segment case, "strided" arrays would still use old code.




More information about the Numpy-discussion mailing list