On 8/22/07, Danai Wiriyayanyongsuk <danaiw@gmail.com> wrote:
> The sizes of the following array types *impact* the size of the heap:
> - integer and float (as the values will be directly stored in the heap)
> - String and other feature structures (as the address of each element
> pointing to the related position on other heaps will be stored in the heap)
>
> On the other hands, the sizes of the following array types do *not* impact
> the size of the heap:
> - boolean, byte, short, long and double (as there are different heaps to
> store the data)
>
> Is my understanding correct?
>
Yes that's correct. Those data types have their own heaps with
different sized cells.
-Adam
|