public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/1302] New: improve regex bitset performance (don't assume 32 bits)
@ 2005-09-06  7:32 eggert at gnu dot org
  2005-09-06  7:33 ` [Bug regex/1302] " eggert at gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: eggert at gnu dot org @ 2005-09-06  7:32 UTC (permalink / raw)
  To: glibc-bugs-regex

The regex bitset code currently uses an array of unsigned int words to
represent a bitset, and assumes these words are exactly 32 bits wide.
On modern 64-bit hosts, using a 64-bit word would require
approximately half the instructions for the bitset-related code.
Also, it's better not to assume 32-bits everywhere.  I'll attach a
patch.

-- 
           Summary: improve regex bitset performance (don't assume 32 bits)
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: eggert at gnu dot org
                CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
                    bugs at sources dot redhat dot com
 BugsThisDependsOn: 1278,1285


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302

------- 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] 6+ messages in thread

end of thread, other threads:[~2020-08-05  6:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-1302-132@http.sourceware.org/bugzilla/>
2020-08-05  6:52 ` [Bug regex/1302] improve regex bitset performance (don't assume 32 bits) cvs-commit at gcc dot gnu.org
2005-09-06  7:32 [Bug regex/1302] New: " eggert at gnu dot org
2005-09-06  7:33 ` [Bug regex/1302] " eggert at gnu dot org
2005-09-06 17:48 ` eggert at gnu dot org
2005-09-06 23:30 ` drepper at redhat dot com
2005-09-28 17:33 ` drepper at redhat dot com
2006-04-25 18:21 ` 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).