Re: [PATCH 2/2] Unify usage strings declaration

2005-07-30 Thread Matthias Urlichs
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   |  [EMAIL PROTECTED]
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


-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/2] Unify usage strings declaration

2005-07-29 Thread Junio C Hamano
Petr Baudis [EMAIL PROTECTED] writes:

 All usage strings are now declared as static const char [].

I do not have preference either way, and I've already merged
them, but why char[] not char*?



-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html