Revision 555940
Go back to digest for 2nd July 2006Optimization in KDE Base
Dirk Mueller committed changes in /trunk/KDE/kdelibs/kded/vfolder_menu.cpp:
don't just stat everything for fun. Most file systems
can actually provide the file type without stat(), which
safes syscall overhead and often also a disk access (on
cold caches).
On cold caches I was able to measure a speedup of 3-4%.
Not a lot, but since it can't make things worse, I commit it anyway.
File Changes
Modified 1 files
- /trunk/KDE/kdelibs/kded/vfolder_menu.cpp
1 files changed in total