public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/501] New: transit_state is slow
@ 2004-11-04  8:51 bonzini at gnu dot org
  2004-11-10 10:55 ` [Bug regex/501] " bonzini at gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bonzini at gnu dot org @ 2004-11-04  8:51 UTC (permalink / raw)
  To: glibc-bugs-regex

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.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-12-27 16:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-04  8:51 [Bug regex/501] New: transit_state is slow bonzini at gnu dot org
2004-11-10 10:55 ` [Bug regex/501] " bonzini at gnu dot org
2004-11-10 14:05 ` drepper at redhat dot com
2004-11-10 14:19 ` bonzini at gnu dot org
2004-11-11  9:20 ` bonzini at gnu dot org
2004-11-13 12:59 ` bonzini at gnu dot org
2004-11-13 13:00 ` bonzini at gnu dot org
2004-12-01 17:01 ` bonzini at gnu dot org
2004-12-10 16:50 ` bonzini at gnu dot org
2004-12-20 10:21 ` bonzini at gnu dot org
2004-12-20 10:22 ` bonzini at gnu dot org
2004-12-27 16:40 ` drepper at redhat dot com

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).