[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] Re: Performance question:Extending the UML metamodel vs Using stereotypes & profiles

Dear Kenn,

I didn't try it yet, but it is a solution indeed. This would solve the fact that stereotype applications are dynamic EMF objects. And when I need to work with an object, I should retrieve the stereotype application and work directly with it (i.e. avoiding element.setValue() and element.getValue() which give me the impression that do some processing that can be expensive for repeated calls).

I think I will do some benchmarks with 2 or 3 solutions. When I have results, I'll get back and post them.

If meanwhile you have opinions on this matter, I would gladly like to hear them.

Best regards,
Cristi.

Kenn Hussey wrote:

Cristian,

Have you tried defining your profiles statically? That will give you an API to work with your profile elements and also provides the ability to support things like derived stereotype attributes, etc..

Kenn