2011/8/1 Timo Kluck <tkl...@infty.nl>
> 2011/7/30 Eric Firing <efir...@hawaii.edu>
>> Maybe the thing to do is to pre-calculate if len(xp) <= len(x), or some
>> such guess as to which method would be more efficient.
>>
> What you're suggesting is reasonable. The cutoff at len(xp) <= len(x) can 
> distinguish between the 'refinement' case
> and the 'just one value' case. I'll implement it for a start.

I just submitted a patch at
http://projects.scipy.org/numpy/ticket/1920 . It implements Eric's
suggestion. Please review, I'll be happy to adapt it to any of your
feedback.

Timo
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to