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

Re: [MiNT] MiNT1.17 Changes



Eero Tamminen wrote:

Slow code will
remain slow code with AHCC although GCC would be able to optimize it a lot
(inlining static stuff, removing dead code, pre-calculating invariant
values, deducting more correct/faster types for variables etc).

There are a few caveats with such types of optimizations,
e.g.: Doing better than the programmer.
Firstly, the result is that you very soon can not do without.
Secondly, if I have spent important work on a source to
improve it and I hardly notice a difference in the binary, I would
be very annoyed.
Thirdly: Nobody cares about quality of code other than correctness.

--
Groeten; Regards.
Henk Robbers. http://members.chello.nl/h.robbers
Interactive disassembler: TT-Digger;  http://digger.atari.org
A Home Cooked C compiler:      AHCC;  http://ahcc.atari.org