Should fast mime detection use a stat call?

Milian Wolff mail at milianw.de
Mon Jun 17 21:00:54 BST 2013


On Monday 17 June 2013 15:44:12 Mark wrote:
> On Mon, Jun 17, 2013 at 5:38 PM, David Faure <faure at kde.org> wrote:
> > Le lundi 17 juin 2013 15:13:36 Mark a écrit :
> >> @Frank, do you happen to know what dolphin does here? Is it passing
> >> this mode property?
> > 
> > I thought you profiled this, don't you have backtraces?
> 
> I tested KMimeType directly from a file list without dolphin in
> between. A simple sample application that reads out a directory and
> puts it in a QList<KUrl>.

You optimize at such a core level and still use QList? ;-)

http://marcmutz.wordpress.com/effective-qt/containers/
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130617/bc06ee1a/attachment.sig>


More information about the kde-core-devel mailing list