You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Manuel Innerhofer (JIRA)" <ji...@apache.org> on 2010/11/02 15:48:25 UTC
[jira] Resolved: (CLEREZZA-348) JenaGrahAdapter/JenaGraph: Prevent
that unnecessary mappings are added to the BidiMap
[ https://issues.apache.org/jira/browse/CLEREZZA-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manuel Innerhofer resolved CLEREZZA-348.
----------------------------------------
Resolution: Fixed
With the following code snippet you can see that the platform performance decreases when making filter calls containing new BNodes.
MGraph unsecuredSystemGraph = ((SecuredMGraph) systemGraph).getUnsecuredMGraph();
long count = 0;
while (true) {
count++;
unsecuredSystemGraph.filter(new BNode(), null, new BNode());
if (count%10000 == 0) {
System.out.println(count);
}
}
> JenaGrahAdapter/JenaGraph: Prevent that unnecessary mappings are added to the BidiMap
> -------------------------------------------------------------------------------------
>
> Key: CLEREZZA-348
> URL: https://issues.apache.org/jira/browse/CLEREZZA-348
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Manuel Innerhofer
> Assignee: Manuel Innerhofer
>
> BNodes used when filtering with JenaGraphAptapter.performFilter() are added to the map containing the mappings from clerezza resources to jena nodes. This regardless of their existence in the graph. A jena blank node to map to is created, but has no use.
> The same issue is in JenaGraph.graphBaseFind() but the other way around.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.