Revision 847628

Go back to digest for 17th August 2008

Optimization in KDE Base

Kevin Ottens committed changes in /trunk/KDE/kdelibs/solid/solid/backends/hal/halfstabhandling.cpp:

Refactoring the HAL backend fstab handling to make it more useful.
We now keep a cache of all the information found in the fstab.
It's updated on demand only if more than 10 seconds elapsed since the last update.
This way we don't introduce a polling, and we also make sure that the information used is not too old.

Opens the door to making some of our heuristics in the HAL backend for ignoring devices more efficient.

File Changes

Modified 1 files
  • /trunk/KDE/kdelibs/solid/solid/backends/hal/halfstabhandling.cpp
1 files changed in total