On Fri, Oct 4, 2013 at 10:48 PM, Geoff Canyon <[email protected]> wrote:


> The switch to send in (1 - (the long seconds mod 1)) seconds was a
> very unexpected and exceedingly clever hack.
>

Sorry, I still don't get it.

In the msg box:

the long seconds mod 1

always returns 0 --seems right.

therefore:

(1 - (the long seconds mod 1))

is the same as:

1 - 0

So you may as well just say:

send in 1 seconds

On my computer;

put 1 - 0 into x

is slightly slower than;

put 1 into x

which is twice as fast as:

put (1 - (the long seconds mod 1)) into x

I expected it to be slower and it is, which leaves me foolishly trying to
figure out what the benefits are?
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to