Re: Shrink the git binary a bit by avoiding unnecessary inline functions
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jun 23, 2008, 04:54 UTC
- Message-ID
- <alpine.LFD.1.10.0806222150180.2926@woody.linux-foundation.org>
- In-Reply-To
- <46d6db660806221801j7207e6b0sdf91c2243fad5349@mail.gmail.com>
On Mon, 23 Jun 2008, Christian MICHON wrote:
Show 5 quoted lines
> > There's more than 80k difference with your figures (I have not even > applied your patch yet). > May I ask which version of gcc you're using ? The numbers you provided > were really with -Os ?
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
Also notice that this is x86-64, maybe you're 32-bit?
You also have much smaller size difference (616606 -> 591554 is just over 16kB), but if my version of gcc bloats things up more, then I'm not surprised that the difference is bigger too.
Linus