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

Paolo Bonzini bonzini@gnu.org
Sat Jan 3 09:49:00 GMT 2004


> 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.

Paolo




More information about the Libc-alpha mailing list