On Wed, 8 Feb 2006, Morgen Sagen wrote:
On Feb 8, 2006, at 10:12 PM, Katie Capps Parlante wrote:
Several folks have expressed interest in getting people together to talk
about collections and notifications, and what we should do in 0.7.
Here's a short list of problems as I understand them:
Any others to add to the list?
A small detail we need to fix: ListCollection doesn't maintain its intrinsic
sort order after an index has been added.
The problem is that a ListCollection has no intrinsic order. It wraps a Set
around a ref collection. A ref collection has intrinsic order but a Set does
not. For performance reasons, when a Set (hence any Collection item) is
iterated, and it has an index, the index is iterated instead. This could of
course be changed but it seems that the requirements are conflicting a bit
here.
This touches also on the age-old debate about the point of having hardwired
collection items (ListCollection is hardwired around an attribute called
'refCollection', and all collection items are hardwired around a 'rep' Set
attribute). I suspect this might also come up in the meeting Katie just
called.
Andi..
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev