can you send the code so that we really understand what is the double cache lookup?
On 23 Sep 2017, at 23:06, Cyril Ferlicot D. cyril.ferlicot@gmail.com wrote:
Hi,
I see in some methods that there is a double cache lookup for compatibility purposes.
We can see for example #numberOfLinesOfCode with the lookup for #LOC, #numberOfStatements with #NOS and #cyclomaticComplexity with #CYCLO.
Those changes were done 7 years ago. Should we still keep those compatibility lookup or do you think it is time to remove them? Because, when applied to thousands of entities this can slow down some operations. For small models it is acceptable but for really large model it would be cool if we could done only one lookup.
I am waiting your opinion on this :)
-- Cyril Ferlicot https://ferlicot.fr
http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-------------------------------------------- Stéphane Ducasse http://stephane.ducasse.free.fr http://www.synectique.eu / http://www.pharo.org 03 59 35 87 52 Assistant: Julie Jonas FAX 03 59 57 78 50 TEL 03 59 35 86 16 S. Ducasse - Inria 40, avenue Halley, Parc Scientifique de la Haute Borne, Bât.A, Park Plaza Villeneuve d'Ascq 59650 France