Ralf Wildenhues <[EMAIL PROTECTED]> writes:

> * Simon Josefsson wrote on Wed, Oct 05, 2005 at 02:10:14PM CEST:
>> 
>> +/* Written by Simon Josefsson.  The interface was inspired by memxor
>> +   in Niels Möller's Nettle. */
> *snip*
>
>> +void *memxor (void *dest, const void *src, size_t n);
> *snip*
>
> Random comment the casual reader: Do you need to allow cases where src
> and dest overlap?

No, at least not yet.

> IOW, can't you add restrict qualifiers, and if necessary provide
> another function for unrestricted, potentially overlapping areas?
>
> The compiler should be able to optimize the restricted case nicely, I
> would guess.

I have added it.

Thanks!


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to