Re: [Pharo-project] Iso-Collections
May 15, 2009
12:30 p.m.
Guido Stepken wrote:
LSWVST introduces a new object-type - IsoCollections. Iso-Collections stores type information of its elements only once."
That's nice, but not enough. Collections with more than a few thousand elements should use multiple blocks of memory (e.g. btree) to have acceptable insert performance.
Hmmm, opening a simple Array of 1.000.000 elements consumes 4 megabytes in Pharo ...
The point being? In a 64bit environment it will be 8MB. Only for bit/ byte sets or compressed collections it will be less. Cheap pc's currently have up to 16GB of memory, so the first 2.000.000.000 elements are no problem. Stephan
6286
Age (days ago)
6286
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stephan Eggermont