Hi all,

I am ripping my hair off trying to figure out whether to create a
parallel collections framework or somehow extend the current one.
While sticking to the IList and ICollectionView interfaces provide
immediate interoperability with the rest of the framework, they
introduce ambiguity, performance penalties and semantic distortion
when using it for more complex stuff. ( using a List where a Set is
needed, no events on dictionary objects, no sequential access
interface, etc ).

While trying to implement something like the C++ STL in flash would
definitely be overkill, I think that the core subset of Java
collections framework would be definitely nice and feasible.

It is not hard to retrofit IList to extend ICollection ( or IMultiSet
), and to extend the CollectionEvent to support plain membership
change notifications when applicable.
I would forget about identity definition ( comparators ) for now and
stick to simple equality ( == ) in favor of performance and
simplicity.

Comments, anyone?

Thanks,
Aldo

-- 
:::: Aldo Bucchi ::::
+1 858 539 6986
+56 9 8429 8300
+56 9 7623 8653
skype:aldo.bucchi

Reply via email to