Review Request 112979: Make use of multi-threading in KItemListSizeHintResolver

Emmanuel Pescosta emmanuelpescosta099 at gmail.com
Sat Sep 28 20:07:28 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112979/
-----------------------------------------------------------

Review request for Dolphin.


Description
-------

Make use of multi-threading in KItemListSizeHintResolver.

We need the item size hints of all items in KItemListLayouter::doLayout(),
so instead of resolving it sequentially during layout calculation, 
we can resolve all item size hints in parallel before we start the 
layout calculation.


Diffs
-----

  dolphin/src/kitemviews/private/kitemlistsizehintresolver.h 486f9b6 
  dolphin/src/kitemviews/private/kitemlistsizehintresolver.cpp 0e2286b 
  dolphin/src/kitemviews/private/kitemlistviewlayouter.h 306fcd3 
  dolphin/src/kitemviews/private/kitemlistviewlayouter.cpp d6e78ae 

Diff: http://git.reviewboard.kde.org/r/112979/diff/


Testing
-------

Everything works fine.

It is about 1/3 faster on my machine (tested with 100k items in item view mode).


Thanks,

Emmanuel Pescosta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20130928/129781b6/attachment.htm>


More information about the kfm-devel mailing list