Michael Wenz Messages: 1818 Registered: July 2009 Location: Walldorf, Germany
hm, the reason for this is hard to tell without a deeper analysis. What I
assume at first glance is that you might have a deeply nested shape
hierarchy with a lot of links set up. In that case the default
implementation of the delete feature may profe inefficient, since it relies
on the EMF reverse reference cleanup to remove links to the deleted
element(s). See DefaultDeleteFeature.deleteBusinessObject; it uses the
recursive variant of EcoreUtil.delete which you might try to change.