Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: String copy idiom. Message-ID: <5192@utzoo.UUCP> Date: Fri, 8-Mar-85 13:55:33 EST Article-I.D.: utzoo.5192 Posted: Fri Mar 8 13:55:33 1985 Date-Received: Fri, 8-Mar-85 13:55:33 EST References: <7042@watdaisy.UUCP>, <7044@watdaisy.UUCP> Organization: U of Toronto Zoology Lines: 13 > 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. If you do so, please put a comment on your private routine to explain why it's there, so the people maintaining it fifteen years from now don't tear their hair out trying to discover why you re- implemented a standard library routine. Also, please put a note about it in the documentation for the application. Your routine may well be slower on the next machine it gets ported to. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry