[PATCH] locale aware sorting of stringlists

Tobias Koenig tokoe at kde.org
Tue Oct 7 14:41:17 BST 2003


On Tue, Oct 07, 2003 at 01:56:48PM +0200, Szombathelyi György wrote:
> Tobias Koenig írta:
Hi György,

> I think it would be better, and more efficient to implement an in-place 
> sorting, e.g.
> sortLocaleAware( QStringList &list ) <- without the const.
We have to do the sorting in a separated list anyway, so if you write
back the sorted list to the original one or return a new list shouldn't
make any big difference, just saves the creation of a QStringList.
Comments?

Ciao,
Tobias
-- 
Can a government that shoots at reporters be democratic?
Separate politics from religion and economy!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031007/5d614962/attachment.sig>


More information about the kde-core-devel mailing list