Re: KIconLoader Optimization Idea
Frans Englich <[email protected]> Tue, 7 Jun 2005 10:36:50 +0000
| Newsgroups | gmane.comp.kde.devel.optimize |
|---|---|
| Message-ID | <[email protected]> |
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