Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!ames!oliveb!sun!gorodish!guy From: guy@gorodish.UUCP Newsgroups: comp.lang.c Subject: Re: induction variable optimization Message-ID: <12910@sun.uucp> Date: Sun, 8-Feb-87 19:08:20 EST Article-I.D.: sun.12910 Posted: Sun Feb 8 19:08:20 1987 Date-Received: Mon, 9-Feb-87 04:52:25 EST References: <182@ndmath.UUCP> <5603@brl-smoke.ARPA> Sender: news@sun.uucp Reply-To: guy@sun.UUCP (Guy Harris) Organization: Sun Microsystems, Mountain View Lines: 8 >So long as an optimization is guaranteed never to alter program semantics, >it really should be done by the compiler rather than by the programmer, who >generally has more important things to worry about. And who is, more often than not these days, writing C code rather than writing code that happens to be in C for some particular machine (even when writing kernel code!), so that they *can't* know what code is better or worse.