[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: Christoph Feck <christoph () maxiom ! de>
Date: 2012-10-02 21:01:12
Message-ID: bug-307585-17878-z0TO8QoGOQ () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=307585
--- Comment #19 from Christoph Feck <christoph@maxiom.de> ---
static inline bool isDigit(QChar c)
{
return unsigned(c.unicode() - '0') < 10U;
}
This will only handle arabic digits, but I don't know if non-arabic digits have
been handled before. The allocations I was speaking about are those that are
done inside localeAwareCompare().
Regarding your request on the qt list, I looked at
http://unicode.org/reports/tr10/ (Unicode Collating), but unfortunately, it
says it won't handle numerical sorting, so it looks like we still need the
custom code even with Qt 5.x.
--
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