D17528: Refactor SlaveInterface::calcSpeed
Chinmoy Ranjan Pradhan
noreply at phabricator.kde.org
Thu Dec 13 14:03:36 GMT 2018
chinmoyr added a comment.
In D17528#376349 <https://phabricator.kde.org/D17528#376349>, @dfaure wrote:
> I'm surprised, how can a QLinkedList (with nodes allocated all over the memory) be better than a static array (which fits into the same memory cache) ?
IMO It is better only in terms of how the code looks. I saw the for loop shifting elements and immediately felt the urge to use QLinkedList. I never thought of the memory allocation.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D17528
To: chinmoyr, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181213/b1ae62a0/attachment.html>
More information about the Kde-frameworks-devel
mailing list