Revision 1186744

Go back to digest for 24th October 2010

Optimization in KDE-PIM

Volker Krause committed changes in /trunk/KDE/kdepimlibs/kmime:

Add a staticType() method to header subclasses with a fixed type and use that in Content::header<T>().
The temporary header object construction there was responsible for 20-60% of the overall method cost, depending on the header type.

File Changes

Modified 3 files
  • /trunk/KDE/kdepimlibs/kmime
  •   /kmime_content.h
  •   /kmime_headers.cpp
  •   /kmime_headers.h
3 files changed in total