[Numpy-discussion] Gsoc : Performance parity between numpy arrays and Python scalars

Arink Verma arinkverma at iitrpr.ac.in
Wed Apr 17 11:03:45 EDT 2013

Hello everyone

I am Arink, computer science student and open source enthusiastic. This
year I am interested to work on project "Performance parity between numpy
arrays and Python scalars"[1].

I tried to adobt rald's work on numpy1.7[2] (which was done for numpy1.6
Till now by avoiding
a) the uncessary Checking for floating point errors which is slow,
b) unnecessarily Creation / destruction of scalar array types

I am getting the speedup by ~ 1.05 times, which marginal offcourse. As in
project's describtion it is mention that ufunc look up code is slow and

Few questions
1. Does it has to check every single data type possible until if finds the
best match for the data that the operation is being performed on, or is
there better way to find the best possible match?
2. If yes, so where are bottle-necks? Is the checks for proper data types
are very expensive?


Computer Science and Engineering
Indian Institute of Technology Ropar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130417/916c835f/attachment.html>

More information about the NumPy-Discussion mailing list