lkml.org 
[lkml]   [1998]   [Apr]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 24 Apr 1998 13:03:12 +0300
FromMeelis Roos <>
SubjectRe: faster strcpy()
> 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

\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2008