Review Request: Only use parallel sorting when sorting by name

Commit Hook null at kde.org
Fri Jan 11 15:58:37 GMT 2013


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


This review has been submitted with commit 715f00a9b68ab96f040d24e0c21579c87e1851bd by Frank Reininghaus to branch KDE/4.10.

- Commit Hook


On Jan. 9, 2013, 8:47 p.m., Frank Reininghaus wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108309/
> -----------------------------------------------------------
> 
> (Updated Jan. 9, 2013, 8:47 p.m.)
> 
> 
> Review request for Dolphin.
> 
> 
> Description
> -------
> 
> It seems that comparing two dates is less reentrant than it might seem at first sight. In order to prevent crashes and other problems, I propose to only use multiple threads for sorting when sorting by "Name", because naturally comparing strings is the only expensive comparison function.
> 
> Does anyone see a problem with this? I really don't want to commit stupid new bugs at this point in the release cycle ;-)
> 
> 
> This addresses bug 312679.
>     http://bugs.kde.org/show_bug.cgi?id=312679
> 
> 
> Diffs
> -----
> 
>   dolphin/src/kitemviews/private/kfileitemmodelsortalgorithm.cpp 9588d19 
> 
> Diff: http://git.reviewboard.kde.org/r/108309/diff/
> 
> 
> Testing
> -------
> 
> Sorting works OK, verified that it uses only one thread when not sorting by name.
> 
> 
> Thanks,
> 
> Frank Reininghaus
> 
>

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


More information about the kfm-devel mailing list