Editor performance on Mac OS X
- From: Ryan Dary <ftc@xxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Thu, 16 Oct 2008 20:46:11 -0700
Hello. I'm testing the software's performance on my Macbook 2.4 Ghz
loaded with Mac OS X Leopard, and compiled with REALbasic 2008r4.
The performance of the editing seems too slow for real-world use. It is
the basic slowness of time-to-update after I press a key. I feel like I
can type as fast as I want, but the the updating is slow, and actually
makes it difficult to type.
It would be nice to have greater performance so the editing was more
comfortable.
I'm not sure how the internals are setup, but if you have your blinking
cursor timer going, you should timer.reset it on each key press, and you
should force the cursor/carrot to be visible on each key press. That
would be a more standard approach.
Also, you appear to be updating far too much screen on each key stroke.
I could understand if the current line, and possibly the lines below
the current line needed to be refreshed (in the case of a word being
pushed over the edge,) but the whole control doesn't need to be updated.
And, just to make the cursor blink, it seems the only required update
is the line at most, and possibly the tiny rectangle of the cursor alone.
Do you think this could be where some of the performance could be gained?
I feel like "selection" is great speed, but the typing is a bit too
uncomfortable for me.
Thanks,
Ryan
FTC Website:
http://www.truenorthsoftware.com/FormattedTextControl/FormattedTextControl.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in
the subject field.
- Follow-Ups:
- Re: Editor performance on Mac OS X
- From: Brendan Murphy
Other related posts:
- » Editor performance on Mac OS X
- » Re: Editor performance on Mac OS X
- Re: Editor performance on Mac OS X
- From: Brendan Murphy