Last I heard, booleans use one character per item internally. However, even if they were bit-based, your table would still require a 1e12 of them, or 125e9 bytes.
On Sun, Oct 13, 2013 at 11: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 > -- Devon McCormick, CFA ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
