[futurebasic] Re: [FB] GOTO efficiency (was [FB] just a little bit over the l

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: "Dr. Steven J. Stratford" <sstratford@...>
Date: Tue, 19 Oct 1999 22:38:20 -0500
> >Question: which compiles to faster and/or smaller code (pardon the
>>pseudocode):
>>
><snip>>
>>Is the compiled difference pretty much negligible?
>
>Steve,
>
>I ran your code. The GOTO example was the same speed as the LONG IFs, but
>the CASE version was significantly (~12%) faster than either.


Interesting. I was thinking about switching from goto to case 
statements, but maybe I'll hold off to do some additional time 
testing. Thanks.

--Steve


>
> 0"0
> =J= a  y
>  "
>
>--
>To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>