On Tue, 2010-01-12 at 23:30 +0100, Per Jessen wrote:
Hand-optimized assembler will _always_ beat the compiler
That is a myth which even very good assembly programmers can only live up to in small inner-loop type segments. A good optimising compiler can do global optimisations that a human would find extremely difficult to do. In a sense of course there is nothing that a compiler can do that a human programmer can't, but modern global scale optimisations make it extraordinarily difficult, if not practically impossible, for even the best humans to achieve. Then again, most optimisations are exceeded easily by small algorithmic changes. Hand optimising code can't change the complexity of an algorithm Anders -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org