Date: Wed, 18 Oct 1995 14:41:56 +1000 From: Bruce Evans <bde@zeta.org.au> To: CVS-commiters@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, davidg@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/stdlib getenv.c Message-ID: <199510180441.OAA10353@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified: lib/libc/stdlib getenv.c > Log: > Doubled the performance of getenv()/__findenv() by rewriting it to not > use strncmp().. The __findenv() wart is now duplicated. It is inlined in getenv() and exported for use by only (?) setenv(). It should be `static inline' in a private header file and inlined by both (if it is worth inlining at all). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510180441.OAA10353>