[Numpy-discussion] NA masks in the next numpy release?

Charles R Harris charlesr.harris at gmail.com
Fri Oct 28 19:30:06 EDT 2011


2011/10/28 Stéfan van der Walt <stefan at sun.ac.za>

> On Fri, Oct 28, 2011 at 4:19 PM, Charles R Harris
> <charlesr.harris at gmail.com> wrote:
> > Memory use is a known problem. One way to start addressing it might be to
> > implement a "bit" arraytype. It might even be possible to prototype that
> on
> > top of the existing types. Views make bit arrays a bit more interesting
> ;)
>
> Since 1/8 can be represented exactly in floating point, I guess it's
> technically possible to support non-integer strides?
>

I think the same effect could be obtained with fixed point integers, i.e.,
the last three bits are the fractional part.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20111028/ac4b2059/attachment.html>


More information about the NumPy-Discussion mailing list