Hi,
I committed another small change that has a significant impact on the
speed of Groups and especially the Moose Finder.
We used to have:
RuntimeStorage>>elements
^self asArray
Now we have
RuntimeStorage>>elements
^elements
In other words, we are not returning an Array but the original
OrderedCollection. This makes up for a significant speed improvement
when having large models. Tests are green, but if you encounter
problems, please let me know.
In any case, I noticed that we are actually using the storage of a
group in a wrong way. We should always use the storage which is
already a collection instead of directly using the entities of a group.
Cheers,
Doru
--
www.tudorgirba.com
"Problem solving efficiency grows with the abstractness level of
problem understanding."