<table><tr><td style="">markg created this revision.<br />markg added a reviewer: dfaure.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.<br />markg 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/D10256" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Small performance improvement of just not caching the targetUrlList() result.<br />
The only use for that list was returning it in KFileItemListProperties::urlList() so we might as well just call m_items.targetUrlList() there and not save it locally.</p>

<p>This came up as redundant list creation when figuring out where all the QUrl objects came from in a drag/drop action in Dolphin.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I did not benchmark this, seems rather trivial.<br />
Ran the testcases (most relevant is probablt KFileItemTest), all pass just fine.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>KFileItemListProperties_optimizations (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10256" rel="noreferrer">https://phabricator.kde.org/D10256</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/kfileitemlistproperties.cpp</div></div></div><br /><div><strong>To: </strong>markg, dfaure<br /><strong>Cc: </strong>Frameworks, michaelh, ngraham<br /></div>