Initial size of MooseGroupRuntimeStorage?

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

Initial size of MooseGroupRuntimeStorage?

Stephan Eggermont-3
MooseGroupRuntimeStorage >initialize: capacity
         
        byType := Dictionary new: 24.
        byName := IdentityDictionary new: 10000.
        elements := OrderedCollection new: capacity

byName seems a bit excessive/inflexible.

Stephan
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Initial size of MooseGroupRuntimeStorage?

abergel
+1

Alexandre


On Sep 20, 2013, at 12:19 PM, Stephan Eggermont <[hidden email]> wrote:

> MooseGroupRuntimeStorage >initialize: capacity
>
> byType := Dictionary new: 24.
> byName := IdentityDictionary new: 10000.
> elements := OrderedCollection new: capacity
>
> byName seems a bit excessive/inflexible.
>
> Stephan
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



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