Revision b3a74e4...

Go back to digest for 23rd January 2011

Optimization in KDE-PIM

Sergio Luis Martins committed changes in [kdepim] /:

Make korganizer start 0.7 seconds faster, and next/previous week/month more fluid.

HolidayRegion::holiday(date) is expensive, so, instead of calling it 42 times, call
HolidayRegion::holiday( start, start.addDays(41) ) only once.

File Changes

Modified 4 files
  •   korganizer/kocorehelper.cpp
  •   korganizer/kodaymatrix.cpp
  •   korganizer/koglobals.cpp
  •   korganizer/koglobals.h
4 files changed in total