To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=29817





------- Additional comments from [EMAIL PROTECTED] Mon Aug 22 02:58:06 -0700 
2005 -------
flr:
A performance analysis showed the following result:
When the long paragraph is read all saved attributes are applied in the
SvxRTFParser::SetAllAttrOfStk method.  This method takes a long time to
complete. It calls the SvxRTFParser::SetAttrSet method, which calls itself
recusively. The other method called in SvxRTFParser::SetAttrSet is the
SetAttrInDoc method.
Conclusion:
The problem is that the SvxRTFParser::SetAllAttrOfStk must set a lot of
properties, which causes the SvxRTFParser::SetAllAttrOfStk to be slow.
It seems that the only two possibilities to improve performance are 
a) reduce the numbers of properties which needs to be set by
SvxRTFParser::SetAllAttrOfStk, or
b) Make SetAttrInDoc faster.

I'll investigate whether b) can be done...



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to