D8496: Very lightweight cache over device enumeration
David Edmundson
noreply at phabricator.kde.org
Thu Oct 26 11:55:07 UTC 2017
davidedmundson created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY
On startup various areas of frameworks fetch solid devices. Typically in
quick succession for the same type. Caching this list saves us plenty of
cycles
To keep things simple and safe, rather than complicatedly tracking
things, we just reset the cache whenever any device changes.
REPOSITORY
R245 Solid
REVISION DETAIL
https://phabricator.kde.org/D8496
AFFECTED FILES
src/solid/devices/backends/udev/udevmanager.cpp
To: davidedmundson
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171026/96eb5b49/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list