ambassador at fourthworld.com
Wed Dec 7 17:56:26 CET 2016
A friend of mine has an app where some animations are done by flipping
through cards. Speed is variable, set with a "wait <n> milliseconds"
statement, so the user can view the sequence as quickly or slowly as
In versions up through 6.x the speed was quite good, but in v7, 8, and 9
the speed drops below acceptability.
We did some tests and oddly enough the problem doesn't seem to be with
card rendering: when we comment out the "wait" statement speed is
pretty good. It's maybe a tad slower perceptibly, but still good enough
for the animation to be viewed meaningfully.
But "wait 1 millisecons" or even "wait 0 milliseconds" takes FAR longer
in recent versions than in v6.
He has no "...with messages" clause, so any extra time needed for the
event loop should not be a factor.
Something seems amiss with the "wait" command itself.
He's sending me his stack file so I can winnow it down to a good test
case, but in the meantime I wanted to ask here:
Have any of you seen unusual delay with "wait" statements in versions
later than v6?
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode