Revision 658652

Go back to digest for 29th April 2007

Optimization in KDE Base

Robert Knight committed changes in /branches/work/konsole-split-view/konsole:

Use a shared buffer between all filters in a chain. Should improve efficiency by reducing memory allocations. More to the point it prevents accidental deep copying of strings which can happen if not careful with QStrings. Most of the processing time is taken up by the regular expression parsing itself.

File Changes

Modified 3 files
  • /branches/work/konsole-split-view/konsole
  •   /Filter.cpp
  •   /Filter.h
  •   /TerminalDisplay.cpp
3 files changed in total