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]

Re: localedef and UTF-8 locales


On Fri, Aug 10, 2001 at 12:33:33PM +0200, Jakub Jelinek wrote:
> Hi!
> 
> Even with using -j$numprocs in make install_locales it takes very very long
> time to build all the locales (well, without -j$numprocs it takes longer
> than to build whole glibc), but the vast majority of LC_COLLATE and

That is why I added it :-).

> LC_CTYPE files is identical. localedef will hardlink them together, but
> after the costly computation; I believe LC_COLLATE and LC_CTYPE take far
> most of the time.
> E.g. I have 116 identical *.utf8/LC_CTYPE files and 79 *.utf8/LC_COLLATE
> files.
> I wonder, wouldn't it make sense to add some special option to localedef,
> with which user could specify a cache file. make install_locales would

I also tried to modify localedef to take a list of locales from
a file and generate those data in one run. It should be much
faster. But I couldn't figure out a way to release all the
memory held by the locale stuff in glibc. I finally gave up on
that.


H.J.


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