Login  Register

Time to clean old compatibility code?

Posted by CyrilFerlicot on Sep 23, 2017; 9:06pm
URL: https://forum.world.st/Time-to-clean-old-compatibility-code-tp4971338.html

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
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

signature.asc (836 bytes) Download Attachment