From kde-core-devel Tue Oct 07 13:41:17 2003 From: Tobias Koenig Date: Tue, 07 Oct 2003 13:41:17 +0000 To: kde-core-devel Subject: Re: [PATCH] locale aware sorting of stringlists X-MARC-Message: https://marc.info/?l=kde-core-devel&m=106553431015172 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--PEIAKu/WMn1b1Hv9" --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 07, 2003 at 01:56:48PM +0200, Szombathelyi Gy=F6rgy wrote: > Tobias Koenig =EDrta: Hi Gy=F6rgy, > I think it would be better, and more efficient to implement an in-place= =20 > 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 --=20 Can a government that shoots at reporters be democratic? Separate politics from religion and economy! --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/gsJ9SvFUKpY6VLARAsP1AJ9DpkM09iWWes2GD79ziwXoEBbllgCfTYb1 qm2n9xVs0XBrTZYvpearG1E= =mL4Z -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--