This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug regex/605] regex goes uselessly through slow paths
- From: "bonzini at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Dec 2004 16:33:05 -0000
- Subject: [Bug regex/605] regex goes uselessly through slow paths
- References: <20041210165352.605.bonzini@gnu.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From bonzini at gnu dot org 2004-12-28 16:33 -------
Here it is. The only changes were in the context.
2004-12-28 Paolo Bonzini <bonzini@gnu.org>
* lib/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
that were already created.
* lib/regex_internal.c (re_dfa_add_node): Set accept_mb field
in the token if needed.
(create_ci_newstate, create_cd_newstate): Set accept_mb field
from the tokens' field.
* lib/regex_internal.h (re_token_t): Add accept_mb field.
(ACCEPT_MB_NODE): Removed.
* lib/regexec.c (proceed_next_node, transit_states_mb,
build_sifted_states, check_arrival_add_next_nodes): Use
accept_mb instead of ACCEPT_MB_NODE.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=605
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.