J boolean arrays are one byte per element.

In my current (non-J) work I do work with boolean arrays that are one-bit
per element.  Bit arrays are lots of fun and have room for lots of
cleverness, but it takes years/decades.



On Sun, Oct 13, 2013 at 8:16 PM, Hao Deng <[email protected]> wrote:

> Hello:
>     Is the boolean array using one bit for each element or not?
>     I'm try to allocated a 1e6 * 1e6 bit array but failed.
> (out of memory), do I have to do my own bit array calculation ( using int
> array)
>
> Thanks in advance.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to