Re: [PATCH 2/2] Unify usage strings declaration
- From
Matthias Urlichs <smurf@smurf.noris.de>
- Date
- Jul 30, 2005, 06:03 UTC
- Message-ID
- <pan.2005.07.30.06.03.34.432362@smurf.noris.de>
- In-Reply-To
- <7vfytx82m3.fsf@assigned-by-dhcp.cox.net>
Hi, Junio C Hamano wrote:
> I do not have preference either way, and I've already merged > them, but why char[] not char*?
A char* is a variable which points to the char[]. That's four (or eight) bytes we don't need. ;-)
C conflates the two concepts somewhat, which is one of the reasons optimizing compiled C is somewhat more challenging than, say, FORTRAN.
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
Giving every man a vote has no more made men wise
and free than Christianity has made them good.
-- H.L. Mencken