[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [NSImage imagedNamed:] and application startup tuning
From: |
Michael Hanni |
Subject: |
Re: [NSImage imagedNamed:] and application startup tuning |
Date: |
Tue, 18 Mar 2003 16:16:19 -0800 (PST) |
Hi Fred,
--- Fred Kiefer <FredKiefer@gmx.de> wrote:
>
> Not sure if this is the best way to get a better speed at startup. There
> is even one small drawback, we may on some system have to use the
> extension of '.tif' if we ever port GNUstep to such a dump platform. So
> I had to think up something better, and here it is:
>
> Loading the tiff images is so slow because on systems where WRaster is
> available GNUstep first tries all the formats provided by WRaster before
> looking for TIFF files. Switching this order around, i.e. looking first
> for '.tiff', should result in the same speedup. Please test this and
> give me your comments. If this is not enough we should of course use
> your patch.
I'm not at my desk, but I can say off hand that, yes, this will work. I'll
concoct a patch and send it for review. In doing so, should I go through the
AppKit and remove all image extensions that exist? Several files --
NSOutlineView, I think for one -- already had .tiff for its images.
Cheers,
Michael