trichview.com

trichview.support




Re: rvoFastFormatting sometimes not so fast


Return to index


Author

Message

Rob

Posted: 06/13/2005 9:48:47


Thanks for the info. A compiled version would not help me, since I cannot

use any profilers to nail down potential slowdowns (like Louis already

mentions).


The fast formatting option is useful for SINGLE documents with a lot of

style changes. Imagine an XML document displayed in Internet Explorer.

Almost each word has a style different from the next one. Either the color

changes, or the font style. In these cases reformatting the document speeds

up by 4 to 200 times!


Ofcourse this speedup has a side effect: it uses system resources. These

resources are allocated as soon as the RV gets formatted for the first time,

for example after loading a document. This is the time that some lists,

object and canvasses are created and persist throughout the lifecycle of the

RV control, preventing excessive font assignments to the main RV canvas,

which is slow... The fast formatting option acquires a GDI object for each

distinct style in a document.


One question that remains is: does the fast formatting option help you at

all (besides the slower loading)? If not, just turn it off.


I would need a simple test case shwing the behavior in order to circumvent

the problem, since I believe the situation you mention is quite specific.


/Rob





Powered by ABC Amber Outlook Express Converter