This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Three regex speedups, one of which is actually a bugfix
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