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]
Other format: [Raw text]

Re: locale_t aware gettext() functions


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 â

Attachment: signature.asc
Description: OpenPGP digital signature


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