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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: LC_* number reduction


Jakub Jelinek <jakub@redhat.com> writes:

> I completely missed this todo item. Looking at how big and hardlinkable the
> files are, I'd say glibc should use 3 locale files, not 11 nor 1:

I do have a different mechanism in mind.  Even simpler than that.  All
can be put in a simple flat "database".  I.e., one file which
immitates a filesystem with hardlinks etc.  It'll also include the
locale.lias information.  The advantage is that only one file has to
be opened, one name lookup in the hash table, and then potentially
only one single mmap() call if all the locale data is in consecutive
addresses.

> The WWW page lists this as started, though I cannot find any changes related
> to this.

I've stopped working on this before having something committed.  I
have to finish the TLS stuff first since it requires work on other
architectures to follow.

-- 
---------------.                          ,-.   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]