localedef and UTF-8 locales
H . J . Lu
hjl@lucon.org
Fri Aug 10 13:31:00 GMT 2001
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.
More information about the Libc-hacker
mailing list