[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH v2] Saving a few cycles, part 2/3

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 19 May 2010 09:08:36 -0400

On Thu, May 13, 2010 at 20:00, Julian Foad <julian.foad_at_wandisco.com> wrote:
> The fast_memcpy() optimization raised an eyebrow: one developer (Greg
> Stein) mentioned to me that optimizing standard memcpy felt wrong in
> principle.  I don't know what was behind his feeling.  I guess one kind
> of concern that could be considered against it is that newer compilers
> and hardware in a few years could possibly negate the optimization, yet

Not even in a few years. I figured it to be "now".

But with that said, Stefan makes a very good point: the memcpy() that
compilers will use are optimized for a different workload than we are
using here. Thus, it seems fair to craft one tuned for *this*


The couple things that stood out in my quick look at the patch have
already been responded to by Julian, so I'll just wait for the thing
to be committed and do a review then. It seems that, with Julian's
input and re-roll of the patch, it is ready for commit.

Received on 2010-05-19 15:09:06 CEST

This is an archived mail posted to the Subversion Dev mailing list.