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


Reply via email to