Re: faster strcpy()

Meelis Roos (mroos@tartu.cyber.ee)
Fri, 24 Apr 1998 13:03:12 +0300


> while(*a++=*b++); perhaps?

No, that's how it was before. This copies byte at time and is slow.
memcpy is fast. If we could use the same technique as memcpy uses
to copy strings and at the same time check the terminating 0...
I don't see the answer myself, does anybody see?

Meelis Roos (mroos@tartu.cyber.ee)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu