public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/507] New: using a dummy re_node_set causes a mild slowdown in regex
@ 2004-11-04 9:00 bonzini at gnu dot org
2004-11-09 7:54 ` [Bug regex/507] " bonzini at gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: bonzini at gnu dot org @ 2004-11-04 9:00 UTC (permalink / raw)
To: glibc-bugs-regex
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug regex/507] using a dummy re_node_set causes a mild slowdown in regex
2004-11-04 9:00 [Bug regex/507] New: using a dummy re_node_set causes a mild slowdown in regex bonzini at gnu dot org
@ 2004-11-09 7:54 ` bonzini at gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: bonzini at gnu dot org @ 2004-11-09 7:54 UTC (permalink / raw)
To: glibc-bugs-regex
------- Additional Comments From bonzini at gnu dot org 2004-11-09 07:54 -------
Patch applied.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-09 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-04 9:00 [Bug regex/507] New: using a dummy re_node_set causes a mild slowdown in regex bonzini at gnu dot org
2004-11-09 7:54 ` [Bug regex/507] " bonzini at gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).