[Scipy-tickets] [SciPy] #530: Patch for merging the improvements of PyTables flavor of numexpr

SciPy scipy-tickets@scipy....
Fri Nov 2 08:27:57 CDT 2007


#530: Patch for merging the improvements of PyTables flavor of numexpr
-------------------------+--------------------------------------------------
 Reporter:  faltet       |       Owner:  cookedm                 
     Type:  enhancement  |      Status:  new                     
 Priority:  normal       |   Milestone:  0.7                     
Component:  numexpr      |     Version:                          
 Severity:  normal       |    Keywords:  numexpr pytables patches
-------------------------+--------------------------------------------------
 '''!PyTables''' own version of '''numexpr''' add some features that can
 be interesting for the original version (in !SciPy sandbox).  The most
 interesting additions are:

   - Support for {{{long long int}}} datatype
   - Support for {{{string}}} datatype
   - Optimization of the undimensional strided array case
   - Optimization of the unidimensional unaligned array case

 The patch is attached to this ticket.

 Some notes about the patch:

   - Valid constants for boolean are *only* 'True' and 'False'. See:
     + http://www.mail-archive.com/numpy-
 discussion@lists.sourceforge.net/msg03472.html
     + http://www.mail-archive.com/numpy-discussion@scipy.org/msg00420.html

   - The patched version compiles with no warnings :)

 TODO:

   - I'd move the files timing.py and boolean_timing.py files in a
     different '''bench/''' directory, as it seems clearer to my eyes.

   - It should be interesting to implement more functions, like exp,
     ln, log10 and others.

   - The setup.py is too terse, and seems to support only the gcc
     compiler.  More work should be done to include support other
     compilers, and most specially MSVC.  Also, MSVC should be directed
     to compile with optimization level 1 only, in order to get
     reasonable compile times.

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


More information about the Scipy-tickets mailing list