On Mon, Sep 15, 2008 at 10:50 AM,  <[EMAIL PROTECTED]> wrote:
> Granted that boxed arrays can sometimes require much more space than
> unboxed arrays, it does seem strange that the size required should
> depend on how the arrays were originally constructed, before being
> assigned to a noun.

I do not understand what you are asking, here.

Your examples consistently show that your boxed arrays were taking
significantly more space than your unboxed arays.  Boxes are big, and
very few unboxed types can be bigger.

Also, note that the size occupied by an array typically includes some
extra space, to make memory management simple:

   require'plot'
   szn=:4 :'7!:5<''t''[t=:y$x'"_ 0
   plot (a:&szn,: a.&szn) i. 1000

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to