Revision 713923
Go back to digest for 23rd September 2007Optimization in KDE Base
Marc Mutz committed changes in /trunk/KDE/kdelibs/kdeui/icons:
Constructing a KIcon must surely be one of the more often-used parts in program startup. The funnier that this is prematurely pessimized by passing around and assinging a QStringList that's unused in 99.99% of cases. Shy away from default arguments. Esp. if you go ahead and switch on them in the function body! This is BC+SC
File Changes
Modified 4 files
- /trunk/KDE/kdelibs/kdeui/icons
- /kicon.cpp
- /kicon.h
- /kiconengine.cpp
- /kiconengine_p.h
4 files changed in total