[PATCH] Three regex speedups, one of which is actually a bugfix

Jakub Jelinek jakub@redhat.com
Sat Jan 3 12:50:00 GMT 2004


On Sat, Jan 03, 2004 at 10:35:19AM +0100, Paolo Bonzini wrote:
> > I've done some testing.  For the C locale the patched code has
> > altogether very minute benefits, with an UTF-8 locale the benefits are
> > larger.  I've applied the patch.
> 
> The patch should be conditional on the availability of local-exec TLS variables.  So
> either in glibc or in non-PIC code (it is conservative), and the code should compile
> on older C compilers, even 2.95 and non-gcc, because regex is used also by sed or
> gawk or other programs.  Please revert.

Why?  The patch doesn't use TLS at all.

	Jakub



More information about the Libc-alpha mailing list