This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A small optimization patch


"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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]