This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/1302] New: improve regex bitset performance (don't assume 32 bits)
- From: "eggert at gnu dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 6 Sep 2005 07:32:21 -0000
- Subject: [Bug regex/1302] New: improve regex bitset performance (don't assume 32 bits)
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
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.