Re: TIB: program speed


[Prev][Next][Index][Thread]

Re: TIB: program speed




>If C=2
>Q+1->Q
>Is correctly written:
>Q+(C=2)->Q
>If C is 2 then Q will increase by 1
>IF C is not 2 then Q will increase by 0
>This works if you only want to add 1 to a variable, nothing else.
>This IS the fastest way to optimize If statements and faster than the
>'normal' way.


But what if it returns false?  then you are still waiting for it to store
the variable.  I think the speed would probably depend on which you expect
to happen more often, True or False.

Just a guess