On Aug 5, 2010, at 7:56 AM, Tudor Girba wrote:
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.
you lost me on that one: can you explain.
Cheers, Doru
-- www.tudorgirba.com
"Problem solving efficiency grows with the abstractness level of problem understanding."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev