Add new: to be compatible with the SequenceableCollection API.
Add setCollection: to make new: work with the intended pre-sizing mechanism.
Remove hash and first to ninth because they are defined in SequenceableCollection.
This might make FMMultivalueLink faster because of the optimized versions of select:thenCollect:&co, although I haven't tried it.
I'm also considering about removing the = method, which only differs from SequenceableCollection's by calling asOrderedCollection on the other collection, but that may be unnecessary (and thus slower for no reason).
Instead of Collection.
Add
new:
to be compatible with the SequenceableCollection API. AddsetCollection:
to makenew:
work with the intended pre-sizing mechanism. Removehash
andfirst
toninth
because they are defined in SequenceableCollection.This might make FMMultivalueLink faster because of the optimized versions of
select:thenCollect:
&co, although I haven't tried it.I'm also considering about removing the
=
method, which only differs from SequenceableCollection's by callingasOrderedCollection
on the other collection, but that may be unnecessary (and thus slower for no reason).