Article View: comp.lang.misc
Article #1919Re: Aggressive optimization
From: Dan Bernstein
Date: Tue, 06 Nov 1990 07:16
Date: Tue, 06 Nov 1990 07:16
14 lines
999 bytes
999 bytes
In article <4950@avocado5.UUCP> wallach@motcid.UUCP (Cliff H. Wallach) writes: > In article <TED.90Oct26124614@kythera.nmsu.edu> ted@nmsu.edu (Ted Dunning) writes: > -if you compile the following code on a sun3 with -O4, [ compiled array code ] [ obviously faster hand code ] I observe that when I convert the original code into pointer code, the compiler produces very similar results to the hand version. Sure, Jim. Arrays are as efficient as pointers. Uh-huh. Now I know why all my array code has always seemed so slow on Suns. ---Dan
Technical Details
Message-ID:
<2133:Nov607:16:1090@kramden.acf.nyu.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!usc!apple!sun-barr!rutgers!cmcl2!kramden.acf.nyu.edu!brnstndReferences:
<2301@wn1.sci.kun.nl> <TED.90Oct26124614@kythera.nmsu.edu> <4950@avocado5.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!usc!apple!sun-barr!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.lang.misc Subject: Re: Aggressive optimization Message-ID: <2133:Nov607:16:1090@kramden.acf.nyu.edu> Date: 6 Nov 90 07:16:10 GMT References: <2301@wn1.sci.kun.nl> <TED.90Oct26124614@kythera.nmsu.edu> <4950@avocado5.UUCP> Organization: IR Lines: 14