In the situation of small read-only collection (<200) are there any good reason to not just use a standard Collection as OreredCollection and an appropriate ReadStrategy? I am in a situation where for some collection I need to search for collection elements from very long string attribute (>100 characters), a learning competency description.
Hilaire
Hi!
Hilaire Fernandes hilaire2006@laposte.net wrote:
In the situation of small read-only collection (<200) are there any good reason to not just use a standard Collection as OreredCollection and an appropriate ReadStrategy?
Well, as long as you are aware of the fact that the whole collection (an OrderedCollection uses an underlying Array) will be read or written *in full* whenever read or written (which can take some time) - then there is no major good reason I think. :)
MagmaCollections also allow some concurrency of course, but I presume that is not interesting for you.
regards, Göran
magma@lists.squeakfoundation.org