<table><tr><td style="">jtamate updated this revision to Diff 33543.<br />jtamate marked 13 inline comments as done.<br />jtamate edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ctum2f6j64qqrie/">(Show Details)</a><br />jtamate edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-dpml7376nthxfcg/">(Show Details)</a><br />jtamate added a comment.
</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/D12659">View Revision</a></tr></table><br /><div><div><p>I've included some methods that will be needed if AnotherUDSEntry replaces the current one.<br />
I hope to have addressed all your comments.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">The two new UDS structures are similar to Frank's, but instead of using two vectors, use only one, with the index next to the data<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">, and an overwritten == operator to test only the indexes (without it,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">the structures are slow).<br />
</span>The first structure uses linear access and in the autotests is the fastest.<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div> 0.0003<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">7</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">6</span> msecs per iteration (total: <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">98</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">95</span>, iterations: 262144)<br />
0.0001<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">7</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">4</span> msecs per iteration (total: <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">93</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">77</span>, iterations: 524288)<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D12659?vs=33507&id=33543">https://phabricator.kde.org/D12659?vs=33507&id=33543</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12659">https://phabricator.kde.org/D12659</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/udsentry_benchmark.cpp</div></div></div><br /><div><strong>To: </strong>jtamate, dfaure, Frameworks<br /><strong>Cc: </strong>bruns, michaelh<br /></div>