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

Re: [PATCH] [merge-tracking] Code clarity fix

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2006-08-31 02:15:08 CEST

> >
> I am not sure about the speed.
> I thought copying 8 bytes at one shot should be faster than dereferncing
> 4 integer items and assigning them.

Again, the compiler will turn one into the other depending on a number
of factors, including register pressure, etc.

> If I understand this segment of code it just takes the 'forward merge
> ranges', which this '*(*output) = *in1; ' should be more meaningful with
> the associated commit message.

At least to me, it's less meaningful to do structure copies in a lot of cases.
Others may disagree.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 31 02:21:16 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.