[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [patch] Preload popup menus for the desktop (3.5)
From:       David Faure <faure () kde ! org>
Date:       2006-04-04 23:19:14
Message-ID: 200604050119.15011.faure () kde ! org
[Download RAW message or body]

On Tuesday 04 April 2006 23:53, Scott Wheeler wrote:
> In my original patch I did use a QCache, though I was doing things per item.   
> We could probably save a bit more doing one menu per mime type.

Actually I just realized that we can't do it per mimetype since the plugins want to know 
the url they're working on; for "compress as foo.zip", for instance.

Hmm. I can't see how the plugins would be particularly slower than the rest of the popupmenu-setup
code, they do the same kind of thing: creating actions and plugging them.
Although arkplugin.cpp does a new KConfig each time which could easily be
changed to a kstatic-deleted static KConfig * (but you said kconfig was fast).

Anyway you gave percentages in one mail and milliseconds in the next one
so I'm a bit confused with the timing data :)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic