This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [BZ558] Part 1: more efficient lowering of {m,n}


On Tue, Nov 23, 2004 at 01:33:11PM +0100, Paolo Bonzini wrote:
> BZ558's profile shows that most of the time is taken by node set 
> operations in calc_eclosure and calc_inveclosure.
> 
> The calc_eclosure part is fixed by this patch.  Braced groups are 
> lowered differently: for example .{1,5} can become (.(.(.(..?)?)?)?)? 
> instead of .?.?.?.?.? --- of course the brackets are not capturing, 
> they're only there to show what is the question mark applied to.

Does this DTRT with say ([abcdefgh]){1,5}\1, e.g. when matching
abcdee or abb? If yes, it would be good to have that in the testsuite
too.

> Patch at 
> http://sources.redhat.com/bugzilla/attachment.cgi?id=289&action=view

Even if you put patches into bugzilla, please mail them as well to
the mailing list.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]