[Numpy-discussion] MaskedArray __setitem__ Performance

Pierre GM pgmdevlist@gmail....
Sat Feb 16 11:25:02 CST 2008


Alexander,
You get the gist here: process your _data and _mask separately and recombine 
them into a MaskedArray at the end. That way, you'll skip most of the 
overhead costs brought by some tests in the package (in __getitem__, 
__setitem__...).


More information about the Numpy-discussion mailing list