[fpc-pascal] Speed
mm
m2 at ellipsa.net
Wed Oct 31 01:47:06 CET 2007
L a écrit :
>>> P.S. Where i can read tips about writing fast FP code?
>
>
> Also see some of the fastcode projects:
>
> http://www.fastcode.dk/fastcodeproject/fastcodeproject/index.htm
>
> And I'm sure you know you can always use GOTO statements when you really need
> speed out of loops
>
> :)
As a matter of fact, just because you can write procedures called
"Exit", "Continue" and "Break", i.e., just because these three
instructions are not keywords, using "goto" is more reliable.
> (not always, only if absolutely neccessary).
If the code is more efficient with a "goto", this is sufficient to
justify its use.
mm
http://www.ellipsa.net/
More information about the fpc-pascal
mailing list