Re: gtk_rc_find_pixmap_in_path (over?)use



Hi Havoc,

On Tue, 2002-08-27 at 18:08, Havoc Pennington wrote:
> Michael Meeks <michael ximian com> writes: 
> > 	Why are we paying a 330ms startup cost [ this is my ~fast linux system
> > ] instead of paying this cost as and when we need the icons themselves ?

> The code is supposed to lazy load, IIRC - you'd have to debug it and
> see why it doesn't. Or file a bug.

	Yep - the icons are lazy loaded; it just goes and does an 'open' /
'close' on them all with gtk_rc_check_pixmap_dir - it looks as if this
big chunk of syscalls is just a nice place to task switch and it takes
nothing like that time in the normal case.

	So there's no problem really, hmm,

	Sorry,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]