Re: [PATCH] Saving a few cycles, part 1/2
On Mon, Apr 26, 2010 at 5:23 AM, Philip Martin
> Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de> writes:
>> further reducing my backlog of patches sitting in my
>> working copy, this and the next patch optimize code
>> locally - shaving off cycles here and there. The net
>> effect is somewhere between 3 and 10 percent
>> for repository access (ls, export, etc.).
>> In this patch, I eliminated calls to memcpy for small
>> copies as they are particularly expensive in the MS CRT.
> For gcc (on Linux at least) memcpy is automatically inlined for small
> copies. Obscuring the memcpy could well result in worse code.
And I believe we're enabling intrinsics in the Windows build... so
it's being inlined there too. I agree, I don't like obscuring
Received on 2010-04-27 01:14:09 CEST
This is an archived mail posted to the Subversion Dev