Re: [Nautilus-list] Icon factory caching



On Sat, 2001-10-06 at 03:42, Jakub Steiner wrote:

    Could there be some special case for some of the icons to always be
    cached? i-directory, i-regular and trash-empty-accept comes to mind.
    Even on fast computer it takes about a second to render the svg icon.
    For example having to wait a second to be able to drop files onto the
    trash (since nautilus is waiting for the trash-empty-accept to render)
    feels very slow.  

Doh :-) I should read the whole thread first...
    
    Another thing I was suggesting before is not keeping the rendered images
    (user-speak here, I'm no hacker) in memory but on the disk cache
    somewhere. That way nautilus is not being bloated keeping all that stuff
    in memory, but behaves as speedy as with bitmap icons (just rendering a
    bitmap from disk cache). I've no clue if that's doable, but might be a
    good speed/memory consumption compromise.

Oh yes, this might be useful for SVG icons. Though I think the slowest
part of them is the resizing, it takes _really_ long for complex vector
images. Long enough that it might be even useful to have a rubber-band
resize indicator and an idle-loop rendering for the stretched icon
contents. It blocks the UI pretty badly if you want to stretch an SVG
icon big.

Tuomas

-- 
:: :: Tuomas Kuosmanen  :: Art Director, Ximian :: ::
:: :: tigert ximian com :: www.ximian.com       :: ::





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