_l functions

Ulrich Drepper drepper@redhat.com
Sun Mar 14 21:16:00 GMT 2004


Ever since the introduction of thread-local locales having two copies of
functions, normal and _l, did not make any sense anymore.  The access to
the locale data in the non-_l code is more expensive.  So I checked in a
patch which converts the _l functions in the real implementations and
the old interfaces are mere wrappers.  Benefit: there should be no
slowdown and about 10% size reduction of libc.so on x86.  On 64-bit
archs it's less since strto*l and strto*ll are the same.

This change should also address the wcstold thing HJ complaint about.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖



More information about the Libc-hacker mailing list