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

RE: [PATCH v3] speed up svn_txdelta_apply_instructions

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Fri, 21 May 2010 13:13:05 +0100

Bert Huijben wrote:
> patterning_copy() should check the alignment of source and destination or
> the copies by using this blocksize can be much slower than the original
> version that just used bytes. (On some architectures an unaligned operation
> is completely handled in software from within an exception handler)

Another thing about patterning copies: I bet they often have a
repeat-length of 1 and almost never have a long pattern of a
repeat-length greater than 1. I suspect the quickest way to generate a
long pattern of repeat-length 1 would be memset().

- Julian
Received on 2010-05-21 14:13:47 CEST

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