This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug regex/507] New: using a dummy re_node_set causes a mild slowdown in regex
- From: "bonzini at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 4 Nov 2004 09:00:55 -0000
- Subject: [Bug regex/507] New: using a dummy re_node_set causes a mild slowdown in regex
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
Several places use a dummy re_node_set instead of avoiding loops entirely.
This has a mild (1%) effect on performance and makes the code less clear
IMO, hence the patch at
http://sources.redhat.com/ml/libc-alpha/2004-11/msg00017.html which removes this
variable.
The patch also cleans up sift_states_backward, moving the inner loop out of the
function into a new build_sifted_states.
--
Summary: using a dummy re_node_set causes a mild slowdown in
regex
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: regex
AssignedTo: bonzini at gnu dot org
ReportedBy: bonzini at gnu dot org
CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
bugs at sources dot redhat dot com
OtherBugsDependingO 500
nThis:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.