Revision decc1d7...

Go back to digest for 17th November 2013

Optimization in KDE Base

Harsh Kumar committed changes in [kate] /:

Single characters made QChar instead of QString

Making single characters as QChar when they are added to a QString.
Adding single characters to a QString is faster if the characters are
QChars and not QStrings.

Same holds for arguments to QString::startsWith(), QString::endsWith(),
QString::remove() and QString::section()
Changes made to in these function calls as well

REVIEW: 113859

File Changes

Modified 16 files
  •   ktexteditor/templateinterface.cpp
  •   tests/script_test_base.cpp
  •   tests/vimode_test.cpp
  •   part/vimode/kateviglobal.cpp
  •   part/vimode/kateviinsertmode.cpp
  •   part/vimode/katevinormalmode.cpp
  •   addons/kate/close-except-like/close_except_plugin.cpp
  •   addons/kate/gdbplugin/debugview.cpp
  •   addons/kate/kate-ctags/kate_ctags_plugin.cpp
  •   addons/kate/kate-ctags/kate_ctags_view.cpp
  •   addons/kate/katesql/schemawidget.cpp
  •   addons/kate/project/kateprojectworker.cpp
  •   addons/kate/search/plugin_search.cpp
  •   addons/kate/symbolviewer/php_parser.cpp
  •   addons/kate/textfilter/plugin_katetextfilter.cpp
  •   addons/kate/xmltools/plugin_katexmltools.cpp
16 files changed in total