[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 307585] Sorting is too cpu intensive for big folders
From:       Frank Reininghaus <frank78ac () googlemail ! com>
Date:       2012-09-30 13:01:13
Message-ID: bug-307585-17878-448zLT1tRg () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=307585

--- Comment #8 from Frank Reininghaus <frank78ac@googlemail.com> ---
(In reply to comment #7)
> I don't think i need debug symbols for Qt. I do have a Qt debug build here
> and can just link to that, but that doesn't really help a lot since the
> sorting is a custom thingy done in Dolphin code, not in Qt.

I was mostly referring to Qt functions which are called in other areas.

> However, that doesn't work because KFileItemModel::lessThan is a class
> member and requires other class members to work. qSort needs a global
> function there.

IIRC, this is exactly the reason why Peter did not use something like qSort()
when he wrote the new view engine.

> I know this is a lot faster and cleaner + that it completely ignores
> KFileItemModelSortAlgorithm::sort which is very slow anyway. I just have to
> get the above working :)

I don't have much time now, but I would strongly recommend to study the git
logs for the sorting code. Probably Peter's commit messages provide some
information about the design choices he made.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic