From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5977 invoked by alias); 28 Dec 2004 16:33:10 -0000 Mailing-List: contact glibc-bugs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sources.redhat.com Received: (qmail 5603 invoked by uid 48); 28 Dec 2004 16:33:05 -0000 Date: Tue, 28 Dec 2004 16:33:00 -0000 Message-ID: <20041228163305.5602.qmail@sourceware.org> From: "bonzini at gnu dot org" To: glibc-bugs@sources.redhat.com In-Reply-To: <20041210165352.605.bonzini@gnu.org> References: <20041210165352.605.bonzini@gnu.org> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug regex/605] regex goes uselessly through slow paths X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg00145.txt.bz2 List-Id: ------- 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 * 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.