]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Optimize ReadGraph.hasStatements(s,p) to not use getObjects(s,p) 08/4308/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 10 Jun 2020 18:41:27 +0000 (21:41 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 10 Jun 2020 18:59:14 +0000 (18:59 +0000)
Depending on the predicate asked for, hasStatements(s,p) can be
optimized to not realize the entire [object] result list created by
getObjects(s,p).

gitlab #558

Change-Id: I7be1d2000396ce6c1e4595cabaafef5db4224de9


No differences found