more questions about efficient C code

Walter Bright bright at dataio.UUCP
Fri Jun 28 19:23:25 AEST 1985


In article <474 at crystal.UUCP> shekita at crystal.UUCP writes:
>I am currently modifying C code, written by someone else,
>that is incredibly terse. It's paramount that the code
>be fast, so I presume the code is terse for speed.

For every case you mentioned, I can think of different compilers
where one case is faster in one compiler and the other case is
faster for the other compiler. The only way to tell for sure for
your compiler is to examine the assembly code output.



More information about the Comp.lang.c mailing list