[Scipy-tickets] [SciPy] #400: Patch for accelerating operations in numexpr when unaligned matrices are present

SciPy scipy-tickets@scipy....
Mon Apr 23 13:09:37 CDT 2007


#400: Patch for accelerating operations in numexpr when unaligned matrices are
present
-------------------------+--------------------------------------------------
 Reporter:  faltet       |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  Other        |     Version:  devel   
 Severity:  minor        |    Keywords:          
-------------------------+--------------------------------------------------
 I don't actually know why, but my benchmarks show that doing a copy in
 python space of an unaligned array is between a 30% and 70% faster
 (depending on the CPU) than doing this in C space (using
 !PyArray_SimpleNewFromDescr).

 I'm adding the patch just in case you want to try it out and/or eventually
 apply it.

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/400>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list