Github user afs commented on the issue: https://github.com/apache/jena/pull/212 @rvesse - so this is specific about `deleteFrom`. Good point that `contains()` may be not low cost. I have realized that we can use the fact that often there is no code listing to events by calling `Graph.getEventManager().listening()`. The code can have one path when events are needed, to get the perfect legacy contract, and another path for when events are not needed because no code is listening.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---