[NumPy-Tickets] [NumPy] #1666: Reducing the memory usage of MaskedArrays after DomainedBinaryOperation

NumPy Trac numpy-tickets@scipy....
Thu Nov 11 16:38:35 CST 2010


#1666: Reducing the memory usage of MaskedArrays after DomainedBinaryOperation
-------------------------------+--------------------------------------------
 Reporter:  lee                |       Owner:  pierregm      
     Type:  enhancement        |      Status:  needs_decision
 Priority:  lowest             |   Milestone:  Unscheduled   
Component:  numpy.ma           |     Version:  none          
 Keywords:  mask memory usage  |  
-------------------------------+--------------------------------------------
Changes (by pierregm):

  * status:  new => needs_decision


Comment:

 Oh, checks before the operation.

  Well, I went this way for a while (that was how things were implemented
 initially), but then, we ran into some problems down the road with
 {{{pow}}} (yet another DomainedBinaryOperation): the checks were getting
 pretty much out of control and wrong most of the time. So I backed up to a
 more basic solution: perform the operation first and mask afterwards where
 it failed... It's robust, but not very elegant.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1666#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list