En/na Tim Hochberg ha escrit::

> Tim Hochberg wrote:
>>>> Ivan Vilata i Balaguer wrote:
>>>>> It seemed that discontiguous arrays worked OK in Numexpr since 
>>>>> r1977 or
>>>>> so, but I have come across some alignment or striding problems 
>>>>> which can
>>>>> be seen with the following code::
> OK, I've checked in a fix for this that makes a copy when the array is 
> not strided in an even multiple of the itemsize. I first tried copying 
> for all discontiguous array, but this resulted in a large speed hit for 
> vanilla strided arrays (a=arange(10)[::2], etc.), so I was more frugal 
> with my copying. I'm not entirely certain that I caught all of the 
> problematic cases, so let me know if you run into any more issues like this.

Great!  For the moment I just can say that the problems I had with that
have disappeared, but I will keep you up to date if I find something
else.  Thank you very much!

::

        Ivan Vilata i Balaguer   >qo<   http://www.carabos.com/
               Cárabos Coop. V.  V  V   Enjoy Data
                                  ""

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to