[Nepomuk] Optimizing Metadatamover::removeMetadata()

Vishesh Handa handa.vish at gmail.com
Mon Jul 5 12:10:14 CEST 2010


Hi!

The current version is recursive and executes a query for every sub folder.
This version only executes the query once. I haven't done any benchmarking,
but this version should be considerably faster. The second version I've
provided uses a Soprano::BindingSet.

- Vishesh Handa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/nepomuk/attachments/20100705/61d6ab2d/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optimizeRemoveMetadata.diff
Type: text/x-patch
Size: 1261 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/nepomuk/attachments/20100705/61d6ab2d/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optimizeRemoveMetadata2.diff
Type: text/x-patch
Size: 1417 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/nepomuk/attachments/20100705/61d6ab2d/attachment-0001.diff 


More information about the Nepomuk mailing list