[PATCH] Regular expression stacks

2002-01-16 Thread Brent Dax
The attached patch adds a new stack type that only handles INTVALs. These are much more efficient than generic stacks--on Win32 they shave a few ten-thousandths of a second off each run of the rx_popindex op, and take a full hundredth of a second off the benchmark. It also shows performance

Re: gcc warnings: rx-startindex

2002-01-16 Thread Nicholas Clark
On Tue, Jan 15, 2002 at 06:51:25PM -0500, Melvin Smith wrote: Hey Nicholas, Just to be clear, I wasn't directing my concern at anyone, nor am I not glad for the work, heck you've probably contributed more to this project than me. It was just a general concern that I felt should be thought

[PATCH] (Easy) cleanup of obvious warnings

2002-01-16 Thread Andy Dougherty
The following patch cleans up some 700+ warnings on my Solaris 8/gcc-2.8 system. I've bundled them all together since they are (I hope) non-controversial. Two hunks merit special mention: The first is removing -ansi -pendantic, which I ranted about yesterday, and is necessary to apply to get

patchy patch applications

2002-01-16 Thread Dan Sugalski
Folks, I've been downsized, and as a result I'm sans laptop for a bit. I'm going to fix that soon, but until then my patch application will be a bit spotty as I'm not quite set up for it. So, if you've got commit privs and the patch passes muster on-list, or is sensible, go commit it and we'll

Re: [PATCH] Regular expression stacks

2002-01-16 Thread Steve Fink
On Wed, Jan 16, 2002 at 01:30:42AM -0800, Brent Dax wrote: The attached patch adds a new stack type that only handles INTVALs. These are much more efficient than generic stacks--on Win32 they shave a few ten-thousandths of a second off each run of the rx_popindex op, and take a full hundredth

Re: [PATCH] (Easy) cleanup of obvious warnings

2002-01-16 Thread Steve Fink
On Wed, Jan 16, 2002 at 11:11:10AM -0500, Andy Dougherty wrote: diff -r -u parrot/classes/pmc2c.pl parrot-andy/classes/pmc2c.pl --- parrot/classes/pmc2c.pl Thu Jan 3 21:29:18 2002 +++ parrot-andy/classes/pmc2c.pl Wed Jan 16 10:57:04 2002 @@ -228,7 +228,12 @@ my $includes = '';

Re: patchy patch applications

2002-01-16 Thread Steve Fink
On Wed, Jan 16, 2002 at 11:25:29AM -0500, Dan Sugalski wrote: should (Andy, Steve, Nick, Melvin, other folks I've forgotten) go over to dev.perl.com, set up an account, and pop me mail with your account dev.perl.org

Re: [PATCH] (Easy) cleanup of obvious warnings

2002-01-16 Thread Andy Dougherty
On Wed, 16 Jan 2002, Steve Fink wrote: On Wed, Jan 16, 2002 at 11:11:10AM -0500, Andy Dougherty wrote: - fprintf(stderr, *** size %d\n,key-size); + fprintf(stderr, *** size INTVAL_FMT \n,key-size); That's what I've been doing in my local copy, but is that portable? I seem to

Re: [PATCH] (Easy) cleanup of obvious warnings

2002-01-16 Thread Alex Gough
On Wed, 16 Jan 2002, Steve Fink wrote: - fprintf(stderr, *** size %d\n,key-size); + fprintf(stderr, *** size INTVAL_FMT \n,key-size); That's what I've been doing in my local copy, but is that portable? I seem to remember that some preprocessors require strange tricks to concatenate

RE: [PATCH] Regular expression stacks

2002-01-16 Thread Brent Dax
Steve Fink: # On Wed, Jan 16, 2002 at 01:30:42AM -0800, Brent Dax wrote: # The attached patch adds a new stack type that only handles INTVALs. # These are much more efficient than generic stacks--on Win32 # they shave a # few ten-thousandths of a second off each run of the # rx_popindex op,