Hi everyone,
I need to have alarge array of small class'es (in c# sense struct).
For premitive types, as the ArrayList stores value types, hence it
is possible to use apache common primitives library to save memory &
cache overflow.
However, for array of cl*****, which are small enough, I want to
store them as value, so that they occupy contiguous memory space,
rether than heving them referenced from list.
This is just to decrease cache overflow error & speedup things. Is
there a possible way to do it?.
In general, is there a possible way to locate the class in local stack,
rather than heap or free store? Some common base class or weak
reference type?
abir


|