🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #1950

Re: Aggressive optimization

#1950
From: Greg Lindahl
Date: Tue, 06 Nov 1990 22:44
9 lines
1045 bytes
In article <2133:Nov607:16:1090@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes:

>I observe that when I convert the original code into pointer code, the
>compiler produces very similar results to the hand version.

Maybe you should have tried gcc -- it does quite a bit better than cc
on this simple exaple, *which includes no alias possibilties*.

Real array code has possible aliasing all over the place.
Technical Details
Message-ID: <1990Nov6.224410.15068@murdoch.acc.Virginia.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!uvaarpa!murdoch!astsun.astro.Virginia.EDU!gl8f
References: <TED.90Oct26124614@kythera.nmsu.edu> <4950@avocado5.UUCP> <2133:Nov607:16:1090@kramden.acf.nyu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!uvaarpa!murdoch!astsun.astro.Virginia.EDU!gl8f
From: gl8f@astsun.astro.Virginia.EDU (Greg Lindahl)
Newsgroups: comp.lang.misc
Subject: Re: Aggressive optimization
Message-ID: <1990Nov6.224410.15068@murdoch.acc.Virginia.EDU>
Date: 6 Nov 90 22:44:10 GMT
References: <TED.90Oct26124614@kythera.nmsu.edu> <4950@avocado5.UUCP> <2133:Nov607:16:1090@kramden.acf.nyu.edu>
Sender: news@murdoch.acc.Virginia.EDU
Organization: Department of Astronomy, University of Virginia
Lines: 9