Thread: Simple Problem
View Single Post
Old 26-04-2005, 07:00 PM   #6
Data
retired
 
Data's Avatar


 
Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
Default

I doubt it.
the libc functions are quite optimized.
(they could have been written in pure asm).

Don't try to reinvent the wheel.
as there smarter systems for copying a string. like
while ((a[i]=b[i])) i++;

and not to mention that strlen takes computing power as well. (strcpy probably doesn't check for the length.(like that while system.)
__________________
Flowing with the stream of life
Data is offline                         Send a private message to Data
Reply With Quote