Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site geowhiz.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!uwvax!geowhiz!karsh From: karsh@geowhiz.UUCP (Bruce Karsh) Newsgroups: net.lang.c Subject: Re: Re: Un-alignment in structures Message-ID: <173@geowhiz.UUCP> Date: Fri, 5-Apr-85 22:55:57 EST Article-I.D.: geowhiz.173 Posted: Fri Apr 5 22:55:57 1985 Date-Received: Mon, 8-Apr-85 00:26:01 EST References: <230@tellab2.UUCP>, <135@mit-athena.UUCP> <5399@utzoo.UUCP> <7170@watdaisy.UUCP> <491@lll-crg.ARPA> Organization: UW Madison, Geology Dept. Lines: 16 >> If you have to remove one millisecond from a tight loop that has to run >> in 50 milliseconds, you really should use assembly. > > If you can possibly do it in assembly then an optimizing compiler that > generates good code can do it just as fast and you gain portability. Can somebody *PROVE* this. I don't think it's true. I think a better statement would be that an optimizing compiler *might* be able to generate code that is as fast. (And then again it might not be able to.) -- Bruce Karsh | U. Wisc. Dept. Geology and Geophysics | 1215 W Dayton, Madison, WI 53706 | This space for rent. (608) 262-1697 | {ihnp4,seismo}!uwvax!geowhiz!karsh |