FTC beta 15 opt 1

  • From: patrick santoni <patricksantoni1@xxxxxxx>
  • To: ftcdev@xxxxxxxxxxxxx
  • Date: Thu, 24 Jan 2008 00:58:28 +0100

On  23 janv. 08 à 22:18, Brendan Murphy has written about Beta15 opt1 :


The big change in this preview is when updates to the
screen occur. Previously when you pressed a key there would be one
update to the display, but now a flag is set and a timer in the
background updates the screen if an update has been requested at a
periodic interval. This allows multiple key strokes to be
processed by the periodic update.

Very nice, Brendan :

so your method is the following

the user press a key. there is no update directly but a flag is set true indicated there is a modification but nothing happens. at T (ms) press X, at T +dt (ms) press Y. at T= 30 ms for exemple, a timer in background is launch. so there is an update of string = "XY". There is a scrutation of the keyboard at a periodical interval (for exemple : 30 ms). So it's possible to allows multiple key strokes to be processed by the periodic update.

My question is the following :

you obtains 6x speed increase. This is very nice.

Is it possible to customise the periodical update (for exemple 15 ms rather than 30 ms for the timer)

In the next futur, Apple inc and PC will run with more speed ( Penryn and nehalem processors). It will be very nice to modify the time interval of the timer according to the plateforme.

Thanks

Patrick Santoni from Paris/France



FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.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.


Other related posts: