Hi all,
With Simon, we think that it will be interessant to put mooseName in privateState. The method is:
---- mooseName
|stream| ^ self privateState at: #mooseName ifAbsentPut: [ stream := (String new: 64) writeStream. self moosePrintOn: stream. stream contents asSymbol ] ----
Is there any negative impact of this idea ?
--- Jannik Laval PhD Student - Rmod Team - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr ---
That should be Ok. Just make sure that you do not do it for Associations, because they should be as light as possible.
Cheers, Doru
On 21 Apr 2009, at 14:08, Laval Jannik wrote:
Hi all,
With Simon, we think that it will be interessant to put mooseName in privateState. The method is:
mooseName
|stream| ^ self privateState at: #mooseName ifAbsentPut: [ stream := (String new: 64) writeStream. self moosePrintOn: stream. stream contents asSymbol ]
Is there any negative impact of this idea ?
Jannik Laval PhD Student - Rmod Team - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow."