Fancy code just inhibits optimisation. Very, very true. In the olden days before C compilers had good optimizers, using
On Sun, 11 Sep 2005 17:45:16 +1000 Colin Carter <colincarter@exemail.com.au> wrote: pointers was more efficient than subscripts, but the use of a pointer requires the compiler to dereference the pointers on their use. Using subscripts allows the C compiler to better optimize the code. I mentioned that the Intel ICC compiler uses some very aggressive optimizations on the IA64. Additionally, fancy code makes a program less readable and hence less maintainable. One example from my ancient COBOL past on a Burroughs mainframe: ... Procedure division. start. enter symbolic ---> much assembler ----------------- This was not very portable code. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9