Revision 701924

Go back to digest for 26th August 2007

Optimization in KDE Base

Rivo Laks committed changes in /trunk/KDE/kdelibs/kdeui/icons/kpixmapcache.cpp:

Use mmap() when possible to load the cache files into memory and then use the memory instead of opening+reading/writing+closing the file every time.
This seems to speed up reading icons from the cache by about 30% :-)

However there is a problem when switching between mmap- and file-mode, so it's disabled for now.

File Changes

Modified 1 files
  • /trunk/KDE/kdelibs/kdeui/icons/kpixmapcache.cpp
1 files changed in total