bug-gnustep
[Top][All Lists]
Advanced

[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 20:00:34 -0800 (PST)

Hi Fred,

> 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.

Ok, I actually implemented this, however, the improvement is subpar. That is,
[NSImage imageNamed:] cycles through all the image extensions within the main
bundle before trying in the system resources. Tiff images are checked for
first, but we still spin alot within the main bundle needlessly.

Never-the-less, this still is somewhat of an improvement... Thoughts?

Cheers,

Michael

Attachment: bitmapimagerep.patch
Description: bitmapimagerep.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]