Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #4026

Re: Register storage type

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.247.MISMATCH!news-out.readnews.com!transit3.readnews.com!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date Sun, 15 May 2011 08:09:51 -0500
Message-ID <4DCFD0A3.36D7@mindspring.com> (permalink)
Date Sun, 15 May 2011 09:09:55 -0400
From pete <pfiland@mindspring.com>
Reply-To pfiland@mindspring.com
Organization PF
X-Mailer Mozilla 3.04Gold (WinNT; I)
MIME-Version 1.0
Newsgroups comp.lang.c
Subject Re: Register storage type
References <iqhhgg$d8j$1@speranza.aioe.org> <OeGdnRorOK1J11HQnZ2dnUVZ_gSdnZ2d@bestweb.net> <iqhiie$g5j$1@speranza.aioe.org> <lnaaerk3sg.fsf@nuthaus.mib.org> <_ZednX81cqTb9VDQnZ2dnUVZ_s-dnZ2d@bestweb.net> <iqk7t1$u3f$1@speranza.aioe.org> <ln1v02i5az.fsf@nuthaus.mib.org> <iqms36$vj1$1@speranza.aioe.org> <slrnisvjb4.34t.angel+news@pearlgates.net>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Lines 15
X-Usenet-Provider http://www.giganews.com
NNTP-Posting-Host 4.154.216.3
X-Trace sv3-Uyst755bTU4fsSLVeaf7quQxTrRfUXVULuX0uUpvKDHnbEi70ZWslB6iVqaV0G5dddTbsoEBHFQ8Xqd!1lTae5OdEC3Gjxvp4uapxvBQaI+AKSAL78qWGI4lxWQ0gh9QDbCFY+ccGBV+pYc2q/fRIOSfNvEB!9KdbE5Sk
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1794
Xref x330-a1.tempe.blueboxinc.net comp.lang.c:4026

Show key headers only | View raw


Angel wrote:
 
> Why are you so focussed on these micro-optimizations anyway? Let the
> compiler figure it out, modern compilers are smart enough to do it on
> their own for all but a few very limited cases.

This was aniticipated in the 1978 version of K&R.
Appendix A, 8.1
"Samller, faster programs can be expected 
 if register declarations are used appropriately, 
 but future improvements in code generation
 may render them unnecessary."

-- 
pete

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Register storage type Free Willy <nospam@nospam.com> - 2011-05-12 20:55 +0000
  Re: Register storage type Kenneth Brody <kenbrody@spamcop.net> - 2011-05-12 17:02 -0400
    Re: Register storage type Free Willy <nospam@nospam.com> - 2011-05-12 21:13 +0000
      Re: Register storage type Angel <angel+news@spamcop.net> - 2011-05-12 21:20 +0000
      Re: Register storage type Keith Thompson <kst-u@mib.org> - 2011-05-12 14:27 -0700
        Re: Register storage type Kenneth Brody <kenbrody@spamcop.net> - 2011-05-13 13:20 -0400
          Re: Register storage type Free Willy <nospam@nospam.com> - 2011-05-13 21:30 +0000
            Re: Register storage type Keith Thompson <kst-u@mib.org> - 2011-05-13 15:50 -0700
              Different languages (Was: Register storage type) gazelle@shell.xmission.com (Kenny McCormack) - 2011-05-14 08:58 +0000
                Re: Different languages (Was: Register storage type) Dr Nick <3-nospam@temporary-address.org.uk> - 2011-05-14 10:09 +0100
              Re: Register storage type Free Willy <nospam@nospam.com> - 2011-05-14 21:27 +0000
                Re: Register storage type Ian Collins <ian-news@hotmail.com> - 2011-05-15 09:55 +1200
                Re: Register storage type Keith Thompson <kst-u@mib.org> - 2011-05-14 16:46 -0700
                Re: Register storage type Jens <jens.gustedt@gmail.com> - 2011-05-15 10:08 -0700
                Re: Register storage type James Kuyper <jameskuyper@verizon.net> - 2011-05-15 14:09 -0400
                Re: Register storage type David Thompson <dave.thompson2@verizon.net> - 2011-05-19 01:50 -0400
                Re: Register storage type Stephen Sprunk <stephen@sprunk.org> - 2011-05-15 00:27 -0500
                Re: Register storage type Angel <angel+news@spamcop.net> - 2011-05-15 12:56 +0000
                Re: Register storage type Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-05-15 11:54 -0400
                Re: Register storage type Seebs <usenet-nospam@seebs.net> - 2011-05-15 17:43 +0000
                Re: Register storage type Tim Rentsch <txr@alumni.caltech.edu> - 2011-05-18 23:37 -0700
                Re: Register storage type Seebs <usenet-nospam@seebs.net> - 2011-05-19 14:37 +0000
                Drift: Linguistics (was Re: Register storage type) Kenneth Brody <kenbrody@spamcop.net> - 2011-05-19 13:17 -0400
                Re: Register storage type Tim Rentsch <txr@alumni.caltech.edu> - 2011-05-19 11:05 -0700
                Re: Register storage type Seebs <usenet-nospam@seebs.net> - 2011-05-19 19:08 +0000
                Re: Register storage type Tim Rentsch <txr@alumni.caltech.edu> - 2011-05-24 00:39 -0700
                Re: Register storage type Ian Collins <ian-news@hotmail.com> - 2011-05-20 07:46 +1200
                Re: Register storage type Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-05-19 22:37 -0400
                Re: Register storage type Michael Press <rubrum@pacbell.net> - 2011-05-25 12:57 -0700
                Re: Register storage type pete <pfiland@mindspring.com> - 2011-05-15 09:09 -0400
      Re: Register storage type Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-05-12 21:57 -0400
  Re: Register storage type Angel <angel+news@spamcop.net> - 2011-05-12 21:14 +0000
    Re: Register storage type gordonb.unc3q@burditt.org (Gordon Burditt) - 2011-05-13 07:49 -0500
  Re: Register storage type Keith Thompson <kst-u@mib.org> - 2011-05-12 14:20 -0700
    Re: Register storage type Seebs <usenet-nospam@seebs.net> - 2011-05-12 21:59 +0000
      Re: Register storage type BGB <cr88192@hotmail.com> - 2011-05-12 15:50 -0700
      Re: Register storage type Keith Thompson <kst-u@mib.org> - 2011-05-12 15:49 -0700
        Re: Register storage type Seebs <usenet-nospam@seebs.net> - 2011-05-12 23:19 +0000
          Re: Register storage type Keith Thompson <kst-u@mib.org> - 2011-05-12 16:29 -0700
            Re: Register storage type Seebs <usenet-nospam@seebs.net> - 2011-05-13 00:15 +0000
  Re: Register storage type Columbus sailed the ocean China Blue <chine.bleu@yahoo.com> - 2011-05-12 15:24 -0700
  Re: Register storage type Peter Nilsson <airia@acay.com.au> - 2011-05-12 17:39 -0700

csiph-web