State of mmap for icon cache

Andreas Pakulat apaku at
Tue Jun 17 09:22:25 BST 2008


I'd like to get a short overview of the current state of mmap support in
our pixmap cache. Last I checked it was disabled due to bug #160284, did
it get enabled again meanwhile? 

I just had a quick glance at kpixmapcache.cpp and it seems like it is
enabled again. So could the fixes that have been done for the mmap'ing
slow down icon loading that much? Because loading of icons has become
quite slow in KDevelop, I notice it in our project tree which uses
KIO::pixmapForUrl() or KIcon() constructor to load the icons. Another
developer has serious problems with the code-completion, it seems that
for him icons are read from disk over and over again (i.e. no caching at
all as it seems). I don't know how recent his kdelibs is though, as I
can't reproduce such a severe problem with the code-completion here
(up-to-date kdelibs as of yesterday).


You will step on the night soil of many countries.

More information about the kde-core-devel mailing list