You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List<LsqTriplePattern> bgpTps = bgpCtxRes.getTriplePatterns();
// This variant has to traverse the RDF list on every addfor(org.spinrdf.model.Tripletp : e.getValue()) {
// System.err.println("TP:" + tp);bgpTps.add(tp.as(LsqTriplePattern.class)); // ISSUE: bgpTps is a view over an RDF List; each add has to iterate all items
}
The solution is to use bgpTps.addAll() - FilteredList in aksw-commons 0.9.6 has been optimized for this case.
The text was updated successfully, but these errors were encountered:
The solution is to use
bgpTps.addAll()
-FilteredList
in aksw-commons 0.9.6 has been optimized for this case.The text was updated successfully, but these errors were encountered: