Re: [PATCH] Make strbuf_cmp inline, constify its arguments and optimize it a bit
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Oct 7, 2007, 22:12 UTC
- Message-ID
- <EF81F7DD-73C7-4B6F-92D2-4A143CA05365@wincent.com>
- In-Reply-To
- <20071007215432.GC2765@steel.home>
El 7/10/2007, a las 23:54, Alex Riesen escribió:
Show 7 quoted lines
>> ... All the rest pretty much >> was worse than what we started from in that it needed to reevaluate >> more conditions and turned out more complicated and obfuscate even to >> the human reader. > > it _is_ smaller. And it is _measurably_ faster on that thing I have at > home (and old p4).
Can we see the numbers and the steps used to obtain them? I'm also a little bit confused about how an inlined function can lead to a smaller executable... or did you just mean lines-of-code?
Cheers, Wincent