Hi,

I have an ArrayCollection of custom objects, and I need to create a subset
of those custom objects based on a condition (without using the built-in
filter() functionality). I am thinking of storing that subset in a second
array, but that is not mandatory - performance is key in this piece of the
app. If I did use a second array, how light-weight would it be, are arrays
extremely effecient constructs in general? Also, in terms of the custom
objects, I believe that they would all be linked by reference, and not
duplicated in the second array - is this correct, and does that make the
array basically the same as if it were storing simple integers? Overall, is
this the most effecient way of getting a subset of an array?

Thanks!

Reply via email to