Optimization in KDE Base
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
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.