MooseGroupRuntimeStorage implementation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MooseGroupRuntimeStorage implementation

Stephan Eggermont-3
While trying to import some monticello packages from smalltalkhub with a
MooseMonticelloHTTPImporter, we noticed some less nice behavior from
the MooseGroupRuntimeStorage. at: ifAbsent is really slow when
byName contains 128 elements and elements 64K. What is the usecase for
putting the elements in an OrderedCollection?

Doing
        byName at: anElement mooseName asSymbol put: anElement.
in add:
makes it perform a lot better. Is there a usecase where you don't want
byName to be filled immediately?

Diego & Stephan
 
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev