KIconLoader Optimization Idea

Frans Englich frans.englich at telia.com
Tue Jun 7 12:36:50 CEST 2005


On Monday 06 June 2005 16:15, Alexander Neundorf wrote:
> On Sunday 05 June 2005 15:45, Luke Alan Sandell wrote:

[...]

> Maybe a binary archive of all/many/most used icons which is autogenerated
> when icons are installed and which can be mmaped might be another idea
> (like ksycoca).

...and this have been proposed by Matthias Clasen and Owen Taylor(Redhat/GTK); 
a binary mmap format for inclusion in the icon theme spec; navigated by name 
hashes IIRC. See thread "Caching icon theme information"(2004-10-13) on the 
xdg-list. There's (some) numbers and informative discussion in that thread.

> Disk space is cheap, maybe they could even be cached 
> uncompressed.

As Lubos and many other says, is optimization discussions meaningless without 
numbers, but AFAIK compressing files is done in order to speed up access; to 
win disk-access at the cost of CPU time(since their time-scales live in 
different universes). There's some Quake engines that does compressing of 
data and they had positive _measures_(IIRC, long time ago). (It says nothing, 
but it's an indication.)


Cheers,

		Frans


More information about the Kde-optimize mailing list