[SciPy-user] operations on int8 arrays

Travis Oliphant oliphant at ee.byu.edu
Wed Oct 19 18:40:59 CDT 2005


Fernando Perez wrote:

>Travis Oliphant wrote:
>  
>
>>One issue, though.  Upcasting to a different type will be slower.
>>    
>>
>
>  
>

O.K.  the default for all reduce-like methods of ufuncs has been changed 
in SVN so that integer types whose size is smaller than sizeof(long) are 
reduced in the long data type (this is the Python integer type).

rtype=   is still an option for those that must have (or want reduction 
in a smaller integer type).

-Travis




More information about the SciPy-user mailing list