locale_t aware gettext() functions
Ulrich Drepper
drepper@redhat.com
Fri Apr 29 18:35:00 GMT 2005
Bruno Haible wrote:
> Is this faster? Four calls to __libc_tsd_set, just for nothing?
That's where you are wrong. __libc_tsd_sed is no function call. It's a
simple variable access.
> By the way, if uselocale() is really so cheap, why does libc have so many
> *_l functions already?
Some for historical reasons, a few for libstdc++.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050429/853bb3e6/attachment.sig>
More information about the Libc-alpha
mailing list