[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: KImgio (Was: App start is too slow)
From: Waldo Bastian <bastian () kde ! org>
Date: 2000-04-26 19:03:40
[Download RAW message or body]
On Wed, 26 Apr 2000, Stephan Kulow wrote:
> > 0.6s dlopening kimg_***.so stuff. why is that necessary during
> > startup? I don't have a single tiff file on my entire hard
> > disk, and still it seems to load every plugin it can find.
>
> Well, you're certainly right, but I can't see how we can help here. When
> you first time access a QImage, it looks up the registred image handlers.
> So you want to register them as soon as possible. But I guess, it can be
> delayed a bit, but it still has to be done before the background is
> displayed (that _could_ be an image). But 0.6s are definitly worth a bit
> extra optimization in case a flat background (or a builtin image type :) is
> chosen.
Isn't it possible to register dummy handlers based on information in the
.desktop file and to load the actual lib when you are about to load/save a
certain image type?
Cheers,
Waldo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic