This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Allow optimizing locale-archive for speed or size
- From: Roland McGrath <roland at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: roland at redhat dot com, drepper at redhat dot com, libc-alpha at sources dot redhat dot com
- Date: Wed, 14 Aug 2002 03:15:35 -0400
- Subject: Re: [PATCH] Allow optimizing locale-archive for speed or size
- References: <20020813192803.S1596@devserv.devel.redhat.com>
That looks good to me! Given the relatively marginal size difference in
the end, I am inclined not to make this optional. The cheap heuristic
will probably always get the right answer, but it would be most general
to sum the sizes of the smallest categories up to 4k or 8k and take those.
And to prepare for the long run the constant 4k should be getpagesize().
This is easy enough to implement that I'd be happy to do it.
If Uli agrees to this change (and making it nonoptional), I'll go ahead
and do it. (But I am pretty sure that Uli is eagerly in favor of this change.)
Thanks!
Roland