[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-optimize
Subject: Re: Mimetype optimization
From: Olivier Goffart <ogoffart () bepointbe ! be>
Date: 2008-04-23 21:35:35
Message-ID: 200804232335.48770.ogoffart () bepointbe ! be
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Le mercredi 23 avril 2008, Jakub Stachowski a écrit :
> Attached is a patch to fix these problems.
> I added some static QChar() vars (conversion char* -> QChar took ~10% of
> matchFileName). Is it a problem?
You can do
pattern.contains(ushort('*'))
since the implicit convertion from ushort to QChar is inline and immediate, it
does with no cost at all. (QChar is actually a ushort internally)
["signature.asc" (application/pgp-signature)]
_______________________________________________
Kde-optimize mailing list
Kde-optimize@kde.org
https://mail.kde.org/mailman/listinfo/kde-optimize
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic