[Nepomuk] Review Request: DataManagement: Optimize findApplicationResource by using a cache

Sebastian Trueg sebastian at trueg.de
Tue Sep 18 08:04:07 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106485/#review19095
-----------------------------------------------------------

Ship it!


Yet another good idea.


services/storage/datamanagementmodel.cpp
<http://git.reviewboard.kde.org/r/106485/#comment15182>

    Why only 10 apps?


- Sebastian Trueg


On Sept. 17, 2012, 7:07 p.m., Vishesh Handa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106485/
> -----------------------------------------------------------
> 
> (Updated Sept. 17, 2012, 7:07 p.m.)
> 
> 
> Review request for Nepomuk and Sebastian Trueg.
> 
> 
> Description
> -------
> 
>     Instead of querying each time, we can use a QCache and cache the
>     last 10 application resources.
> 
> 
> Diffs
> -----
> 
>   services/storage/datamanagementmodel.h cf708da 
>   services/storage/datamanagementmodel.cpp 4221a3c 
>   services/storage/test/datamanagementadaptortest.cpp 839255b 
>   services/storage/test/datamanagementmodeltest.cpp 62e2557 
>   services/storage/test/fakedatamanagementservice.cpp a864117 
>   services/storage/test/resourcewatchertest.cpp 860dcf1 
> 
> Diff: http://git.reviewboard.kde.org/r/106485/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Vishesh Handa
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120918/9d689986/attachment.html>


More information about the Nepomuk mailing list