[kopete-bugs] [Bug 172485] Kopete has full CPU load (freezes) when receiving a long line

Roman Jarosz kedgedev at centrum.cz
Fri Oct 17 00:28:50 CEST 2008


http://bugs.kde.org/show_bug.cgi?id=172485


Roman Jarosz kedgedev centrum cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #2 from Roman Jarosz <kedgedev centrum cz>  2008-10-17 00:28:49 ---
The slow part is QTextDocument::setHtml in libkopete/kopetemessage.cpp
Message::doSetBody. We use QTextDocument because we need toPlainText function.
So is there any faster way to convert html to plain text?

The next slower part is KEmoticonsTheme::tokenize but tokenize is 6 times
faster than setHtml.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list