Revision 1203885

Go back to digest for 12th December 2010

Optimization in KDE Base

Volker Krause committed changes in /branches/work/komo/kdelibs/kdecore/date/kdatetime.cpp:

Cache the regexps used in fromString(), makes it about three times
faster when called often enough. This so far only covers ISO dates, I'll
prepare a more complete patch for trunk soonish.

Saves about 20% CPU time during Kolab format conversion.

File Changes

Modified 1 files
  • /branches/work/komo/kdelibs/kdecore/date/kdatetime.cpp
1 files changed in total