[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nepomuk
Subject:    [Nepomuk] DataManagementModel protected types
From:       Vishesh Handa <me () vhanda ! in>
Date:       2013-05-14 13:46:59
Message-ID: 13850865.40mGijo5MZ () vlap
[Download RAW message or body]

Hey Sebastian

I just made a patch to remove the 
DataManagementModel::containsResourceWithProtectedType function. This function 
is a little slow and in my benchmarks it takes about 8% of the total execution 
time.

The only reason this is there is to make sure clients do not add or modify 
classes, properties or graphs through the DataManagement APIs. But I don't 
think it is worth the 8% penalty.

Nowadays we have a pretty good view of who all is using Nepomuk and we can 
control what they are doing.

Any comments?

--
Vishesh Handa
_______________________________________________
Nepomuk mailing list
Nepomuk@kde.org
https://mail.kde.org/mailman/listinfo/nepomuk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic