[Konsole-devel] [Bug 176974] High memory consumption when using Konsole for a longer time.
mick22 at gmx.at
Mon Jun 8 22:39:09 UTC 2009
--- Comment #39 from Michael Meier <mick22 gmx at> 2009-06-09 00:39:07 ---
In this case, I fully agree with you. One heap allocation per line would be
more efficient. On the other hand, I guess at least 90% of all lines ever in a
history will not contain multiple colors, but that strongly depends on the use
case. If you can keep the per-line overhead for these lines equally small in
the combined buffer approach, that's fine. If not, a polymorph approach (like
in my first patch) using a minimal line type for single-color lines and a more
complex one for formatted lines might be better. Plus, we already have all code
necessary for that.
How about taking the compact line class of the second patch and use it for
multi-color lines, adding the minimal line class from the first patch and use
it for single-color lines, and create the final patch out of that? I volunteer
to do that, however, I won't invest the time in any other, maybe more elaborate
What does the maintainer think about that?
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel