This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
re: [PATCH] regex performance improvement
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: libc-alpha at sources dot redhat dot com, isamu at yamato dot ibm dot com
- Date: Fri, 22 Nov 2002 00:03:06 -0500 (EST)
- Subject: re: [PATCH] regex performance improvement
Isamu,
I tested your proposed patch against current glibc cvs tonight
on debian ppc sid. It appears to pass make check okay and I get the
following results...
using sed built with glibc regex support before your patch....
real 1m59.282s
user 1m58.630s
sys 0m0.580s
for...
time ../sed/sed -n -f ../dc.sed < ./dc.inp >tmp.dc
using sed built with glibc regex support with your patch...
real 0m30.322s
user 0m30.130s
sys 0m0.070s
However there appears to still be some room for improvement compared
to sed built with its own regex support which gives...
real 0m10.865s
user 0m10.510s
sys 0m0.020s
It's getting close though.
Jack