From 90e21f5c5c1926b3c8a50ddbf9e102e4a2a774fa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Jan 2008 00:14:34 +0000 Subject: Attempt using "memory" RDF model instead of "hashes" for query performance (yeah...?). git-svn-id: http://svn.drobilla.net/lad/slv2@1059 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugin.c') diff --git a/src/plugin.c b/src/plugin.c index b77479f..d8ce641 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -145,8 +145,9 @@ slv2_plugin_load(SLV2Plugin p) if (!p->storage) { assert(!p->rdf); - p->storage = librdf_new_storage(p->world->world, "hashes", NULL, - "hash-type='memory'"); + //p->storage = librdf_new_storage(p->world->world, "hashes", NULL, + // "hash-type='memory'"); + p->storage = librdf_new_storage(p->world->world, "memory", NULL, NULL); p->rdf = librdf_new_model(p->world->world, p->storage, NULL); } @@ -259,7 +260,6 @@ slv2_plugin_load(SLV2Plugin p) librdf_free_query_results(results); librdf_free_query(q); - librdf_model_print(p->rdf, stdout); //printf("%p %s: NUM PORTS: %d\n", (void*)p, p->plugin_uri, slv2_plugin_get_num_ports(p)); } -- cgit v1.2.1