Revision fff5f45...

Go back to digest for 14th October 2012

Optimization in KDE Base

Jaime Torres Amate committed changes in [strigidaemon] /:

simple optimizations (prefix ++ and empty vs. size==0

prefix ++ for non trivial datatypes
use empty() in std::containers to check if they are empty.
empty() uses constant time for all containers, size() not.

REVIEW: 105333

File Changes

Modified 8 files
  •   bin/combinedindex/combinedindexmanager.cpp
  •   bin/daemon/client.cpp
  •   bin/daemon/indexscheduler.cpp
  •   bin/daemon/eventlistener/eventlistenerqueue.cpp
  •   bin/daemon/eventlistener/fslistener.cpp
  •   bin/daemon/eventlistener/pollinglistener.cpp
  •   bin/daemon/xsd/metadataproperties.cpp
  •   bin/daemon/xsd/strigidaemonconfiguration.cpp
8 files changed in total