Blitz (50/172)

From:Dave
Date:9 Sep 2000 at 03:47:30
Subject:Re: ListViews

Hey Tony :)

> Actually, that's not strictly true (At least I don't think it is).
>
> DIM List Fred.Tyep(2000) actually allocates 2000 headers and the
> actual data is allocated by the AddItem() call.

Umm..I`m not sure about that...I think that would be true for say strings,
but if you try

newtype .silly
lotsoflongs.l[1000]
end newtype

dim list dave.silly(1000)

should allocate atleast 3.8mb for just the longs, nevermind the overheads
(1000*4*1000)...I think so anyway..mind you it`s 4am :)

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie