From: Paul Jackson <pj@sgi.com>
To: Keith Owens <kaos@ocs.com.au>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [patch 2.6.7-rc2] Add const to some scheduling functions
Date: Tue, 1 Jun 2004 13:12:41 -0700 [thread overview]
Message-ID: <20040601131241.3c808dc3.pj@sgi.com> (raw)
In-Reply-To: <12672.1086083724@ocs3.ocs.com.au>
Keith wrote (of some added 'const' qualifiers):
> It can generate better code.
Later, he wrote (when asked under what circumstances he saw this):
>None, it is just good programming practice ...
So you're not saying it _does_ generate better code, but that it's
possible that it could do so, right?
In any case, the value of 'const' to me is more in documenting
the interface, and imposing compiler checked restrictions on the
implementation.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.650.933.1373
prev parent reply other threads:[~2004-06-01 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-01 3:46 Keith Owens
2004-06-01 7:16 ` Andrew Morton
2004-06-01 9:55 ` Keith Owens
2004-06-01 20:12 ` Paul Jackson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040601131241.3c808dc3.pj@sgi.com \
--to=pj@sgi.com \
--cc=akpm@osdl.org \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®