Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rpi!crdgw1!camelback!volpe From: volpe@camelback.crd.ge.com (Christopher R Volpe) Newsgroups: comp.lang.c Subject: Re: Efficiency Question Message-ID: <17112@crdgw1.crd.ge.com> Date: 26 Feb 91 13:39:00 GMT References: <4bmBqau00Uh_M0aHgb@andrew.cmu.edu> <1991Feb25.181434.6462@ux1.cso.uiuc.edu> <1991Feb26.042023.2097@grebyn.com> Sender: news@crdgw1.crd.ge.com Reply-To: volpe@camelback.crd.ge.com (Christopher R Volpe) Lines: 18 In article <1991Feb26.042023.2097@grebyn.com>, ckp@grebyn.com (Checkpoint Technologies) writes: |>rg2c+@andrew.cmu.edu (Robert Nelson Gasch) writes: |> |>>Since C gives you the opportunity to condense statements, I was wondering |>>what difference to the compiler these 'shortcuts' make. |>> |>> x = x + 1; can become |>> x += 1; which can be further condensed to |>> x++; Just wanted to point out that "x += 1" cannot be condensed to "x++", but rather to "++x". ================== Chris Volpe G.E. Corporate R&D volpecr@crd.ge.com