Date: Wed, 23 Oct 2002 03:52:04 -0700 (PDT) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/string wcsrchr.c Message-ID: <200210231052.g9NAq4cK088287@repoman.freebsd.org>
index | next in thread | raw e-mail
tjr 2002/10/23 03:52:04 PDT
Modified files:
lib/libc/string wcsrchr.c
Log:
Reimplement more efficiently, using a single forward scan (like strrchr(3))
instead of scanning forwards to find the end of the string then scanning
backwards to find the character.
Revision Changes Path
1.7 +12 -22 src/lib/libc/string/wcsrchr.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210231052.g9NAq4cK088287>
