On Mar 25, 2006, at 3:46 PM, Bob Delaney wrote:

It gave the same result. This time I waited it out. It took 15 minutes for that one line to complete.

I'm betting that REALbasic is spending all of its time in a call to ATSUBatchBreakLines, which provides the calculations for soft-line breaks. The worst case scenario is a line with no words that must be broken into multiple lines, especially with a non monospaced font. While I haven't tried this, I would hope that Apple might optimize the case: does it work any faster if you use a font such as Monaco?

I doubt there's much we can do to optimize this case. You might consider adding some line breaks or spaces in your generated string :)

HTH,
Jon


You win the bet! I put in a line break every 5000 characters. Now it only takes 8 seconds for the 1,000,000 characters to display.

By the way, the Windows version of OMMs did not have this problem, even without the line breaks. Running under VirtualPC, the display took less than one second. (The calculation of the string in the plugin took about 8 seconds vs. about 3 seconds in OS X.)

Thanks very much.

Bob
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to