Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: Re: Pascal deficiency? Message-ID: <33175.27759EC1@stjhmc.fidonet.org> Date: 24 Dec 90 06:20:30 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 22 SEC> Decent is the key word here. If your compiler does not optimize, SEC> you're likely to get different code for these, and with the number SEC> of shoddy software products on the market these days, you might SEC> want to investigate. I've disassembled enough C and Pascal, both THINK and MPW, to know that they all generate and Addq.x #1,dx for this instruction no matter how you write it. j := j + 1; j := Succ(j); j = j + 1; j++; ++j; j += 1; all generate exactly the same code. -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org