This is the mail archive of the glibc-bugs-regex@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regex/507] New: using a dummy re_node_set causes a mild slowdown in 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]