Github user afs commented on the issue: https://github.com/apache/jena/pull/212 Revision to `deleteFrom`: loop on src if (srcSize < 1000 || dstSize > 2*srcSize) That is, when dst is small, do the loop/contains thing. This is more conservative and so less disturbing existing code but catches, I hope, the case of small destination (target) graph, typically in-memory, and large src graph (some large database). 1000 is a guess - 10,000 is better maybe?
--- 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. ---