summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-16 00:14:34 +0000
committerDavid Robillard <d@drobilla.net>2008-01-16 00:14:34 +0000
commit90e21f5c5c1926b3c8a50ddbf9e102e4a2a774fa (patch)
treee12f9f015004bef716e69dcad967ecd95170d8e2 /src/plugin.c
parente52d493b18ed5d0ed242d8965a39056c624b0f98 (diff)
downloadlilv-90e21f5c5c1926b3c8a50ddbf9e102e4a2a774fa.tar.gz
lilv-90e21f5c5c1926b3c8a50ddbf9e102e4a2a774fa.tar.bz2
lilv-90e21f5c5c1926b3c8a50ddbf9e102e4a2a774fa.zip
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
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c6
1 files changed, 3 insertions, 3 deletions
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));
}