<table><tr><td style="">meven created this revision.<br />meven added reviewers: davidedmundson, dfaure, Frameworks.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />meven requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23523">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Inspired by <a href="https://github.com/blue-systems/plasma-5.16/issues/139#issuecomment-441704579" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/blue-systems/plasma-5.16/issues/139#issuecomment-441704579</a><br />
After some review, it seems to me using KConfig is not necessary here.<br />
Removing its use should improve IO throughput since rebuildConfig is called in finished.<br />
So mark the old config() function as deprecated.</p>
<p>TODO</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Discussion: does it make sense ?</li>
<li class="remarkup-list-item">benchmark (if anyone has some, it would be very appreciated)</li>
<li class="remarkup-list-item">port ioslaves in kio and kio-extras to use mapConfig() instead of config()</li>
<li class="remarkup-list-item">Clean up this description</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>ctest</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23523">https://phabricator.kde.org/D23523</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/slavebase.cpp<br />
src/core/slavebase.h</div></div></div><br /><div><strong>To: </strong>meven, davidedmundson, dfaure, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>