yes this looks like a good idea.
but the hash function should spread well too I guess
On Jun 24, 2009, at 6:27 PM, Alexandre Bergel wrote:
Dear Moosers
As you may know, identity hashes attributed by the virtual machine
ranges up to 4096. This may be problematic when storing objects in a
dictionary. We often have to deal with high number of entities, and
using dictionary is out of question for performance reason.
One solution (inspired from Lukas) would be to use the ID that each
MooseEntity has instead of the hash.
I will try to see whether hash can be overriden in MooseEntity to
return its ID instead.
Will let you know.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev