A small optimization patch

Ulrich Drepper drepper@redhat.com
Sat Dec 2 00:02:00 GMT 2000


"H . J . Lu" <hjl@valinux.com> writes:

> 2000-12-01  H.J. Lu  <hjl@gnu.org>
> 
> 	* locale/lc-time.c (_nl_init_era_entries): Optimize out
> 	wcschr.
> 	(_nl_get_walt_digit): Likewise.
> 
> 	* stdio-common/printf_fp.c (group_number): Optimize out
> 	__wmemmove.

These are no optimizations.  Leave these function calls.  There can be
optimized implementations and the compiler can and hopefully will get
inlines.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list