summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-03-12 00:11:17 +0000
committerDavid Robillard <d@drobilla.net>2008-03-12 00:11:17 +0000
commit49ddf1af831493cb34a44c35781f3323916314af (patch)
tree957277e4b3928cae3c715b01ac102e24a2ee7ea4 /src/world.c
parentb18d8d7790072058940ddbab21afb9c0e3da7f95 (diff)
downloadlilv-49ddf1af831493cb34a44c35781f3323916314af.tar.gz
lilv-49ddf1af831493cb34a44c35781f3323916314af.tar.bz2
lilv-49ddf1af831493cb34a44c35781f3323916314af.zip
Sorta workingish chicken scheme bindings.
git-svn-id: http://svn.drobilla.net/lad/slv2@1164 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c
index 18eec53..9356579 100644
--- a/src/world.c
+++ b/src/world.c
@@ -43,6 +43,8 @@ slv2_world_new()
librdf_world_open(world->world);
+ // Testing shows hashes to be faster here
+ //world->storage = librdf_new_storage(world->world, "memory", NULL, NULL);
world->storage = librdf_new_storage(world->world, "hashes", NULL,
"hash-type='memory'");
if (!world->storage)
@@ -97,6 +99,8 @@ slv2_world_new_using_rdf_world(librdf_world* rdf_world)
world->local_world = false;
+ // Testing shows hashes to be faster here
+ //world->storage = librdf_new_storage(world->world, "memory", NULL, NULL);
world->storage = librdf_new_storage(world->world, "hashes", NULL,
"hash-type='memory'");
if (!world->storage)