Revision 3266253...
Go back to digest for 7th October 2012Optimization in KDE Base
Vishesh Handa committed changes in [nepomuk-core] services/storage/datamanagementmodel.cpp:
DataManagementModel: Optimize createGraph
* Avoid iterating over the hash and using comparison operators. We can
check for those keys directly.
* Insert all the statements in one go - This avoids a large number of
the expensive url -> n3 conversions. Also we do all the insertions in
one go.
File Changes
Modified 1 files
- services/storage/datamanagementmodel.cpp
1 files changed in total