Revision d7c5002...

Go back to digest for 13th March 2011

Optimization in KDE Base

Peter Penz committed changes in [kde-baseapps] /src/views:

Details view optimization

Constructing a KColorScheme object is very expensive because of a number
of tint computations. When scrolling a big list more than 30 % of the
time was spent here. Instead, we can precompute and store the inactive
text color. (see https://git.reviewboard.kde.org/r/100826/)

Thanks to Samuel Rødal for the patch!

File Changes

Modified 2 files
  • /src/views
  •   dolphin/dolphinfileitemdelegate.cpp
  •   dolphin/dolphinfileitemdelegate.h
2 files changed in total