Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 1999 02:28:50 +0400
From:      Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To:        obrien@freebsd.org
Cc:        freebsd-arch@freebsd.org
Subject:   Re: stpcpy() 
Message-ID:  <199910302228.CAA03763@tejblum.pp.ru>
In-Reply-To: Your message of "Fri, 29 Oct 1999 23:46:55 PDT." <19991029234654.B89583@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" wrote:
> Why is it so useful and "improves" performance so much??  

Good stpcpy() could double performance in some cases. You would touch a 
symbol once where you previously touched it twice. It actually may 
matter in some text-processing applications.

> Especially in the face of portability.

For a programmer, there is no reason to lose the improvement (even 
small one) on some platforms (such as Windows :-), since a fallback 
implementation of stpcpy() is trivial.

Dima






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910302228.CAA03763>