Revision 1209556

Go back to digest for 2nd January 2011

Optimization in KDE-PIM

Volker Krause committed changes in /trunk/KDE/kdepimlibs/akonadi/monitor_p.cpp:

Re-filter the pending notification when we notice that there is noone listening to one of them.
This can happen if the corresponding signal has been disconnected in the meantime, which e.g. the recent optimizations in AgentBase do.

Also, change the filtering from O(n²) to O(n) while I was at it.

File Changes

Modified 1 files
  • /trunk/KDE/kdepimlibs/akonadi/monitor_p.cpp
1 files changed in total