Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watdaisy.UUCP Path: utzoo!watmath!watdaisy!djsalomon From: djsalomon@watdaisy.UUCP (Daniel J. Salomon) Newsgroups: net.lang.c Subject: Re: String copy idiom. Message-ID: <7044@watdaisy.UUCP> Date: Thu, 7-Mar-85 22:33:16 EST Article-I.D.: watdaisy.7044 Posted: Thu Mar 7 22:33:16 1985 Date-Received: Fri, 8-Mar-85 04:34:59 EST References: <7042@watdaisy.UUCP> Distribution: net Organization: U of Waterloo, Ontario Lines: 6 The VAX 4.2 BSD UNIX library routine 'strcpy' uses code equivalent to the less efficient sequence: while (*s++ = *t++); Perhaps it should be changed. In the mean time, if your application does a great deal of string copying, and you are want to minimize execution time, you should write your own string copy routine.