This is the mail archive of the
glibc-bugs-regex@sources.redhat.com
mailing list for the glibc project.
[Bug regex/501] New: transit_state is slow
- From: "bonzini at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs-regex at sources dot redhat dot com
- Date: 4 Nov 2004 08:51:09 -0000
- Subject: [Bug regex/501] New: transit_state is slow
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
transit_state does way a lot scaffolding before actually transiting to a new
state. We have to look at state->word_trtable to check if we are dealing with a
256-entry or 512-entry transition table. The patch at
http://sources.redhat.com/ml/libc-alpha/2004-10/msg00164.html
helps by storing the pointers to the two kinds of transition table in two
different fields of the structure. We can penalize the 512-entry transition
table, because it calls iswalnum and this is very slow anyway.
--
Summary: transit_state is slow
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=501
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.