[PATCH] Make regex stacks public

2002-05-14 Thread Brent Dax
About two weeks ago, Dan asked me to modify Parrot so that the regex engine's high-speed integer stacks could be used by anyone. Since then I've been busy with all sorts of school-related nonsense, but I finally got a break tonight long enough to implement this. The attached patch adds three

Hashes?

2002-05-14 Thread Dan Sugalski
Okay, folks, we need hashes that can have PMCs put in them. Volunteers to add this to perlhash.pmc? -- Dan --it's like this--- Dan Sugalski even samurai [EMAIL PROTECTED]

Request for more string_replace() semantics

2002-05-14 Thread Melvin Smith
Daniel brought up on IRC that it might be useful for string_replace() to be able to replace N chars from string 1 with a substr of string 2. I wrote string_replace() to how I understood Perl5 semantics, where if you wanted to only use a substr of the replacement string AS the replancement, you'd

Grammar!

2002-05-14 Thread Melvin Smith
Eek, I really don't talk that way, hurriedly typed messages come off looking like I'm in 5th grade with all the spelling errors.. -Melvin Smith IBM :: Atlanta Innovation Center [EMAIL PROTECTED] :: 770-835-6984

Re: Hashes?

2002-05-14 Thread Melvin Smith
I would love to, except while I was browsing through the KEY* operations trying to understand what was actually being done, a big snarly, slobbering, comment eating beast rushed out from behind some lines of code and chased me for about a 1/2 a mile. -Melvin Smith IBM :: Atlanta Innovation

Re: Hashes?

2002-05-14 Thread Steve Fink
On Tue, May 14, 2002 at 02:05:25PM -0400, Melvin Smith wrote: I would love to, except while I was browsing through the KEY* operations trying to understand what was actually being done, a big snarly, slobbering, comment eating beast rushed out from behind some lines of code and chased me

[PATCH] fix genclass.pl

2002-05-14 Thread Leon Brocard
Well, I was a good boy and tried to follow the instructions on the list and mail [EMAIL PROTECTED], but that bounced, so here it is: Here is a terribly simple genclass.pl patch to make the generated classes actually compile. No, I don't know what to do about the bad comment, either. Index:

[netlabs #570] [PATCH] sized resource pools

2002-05-14 Thread via RT
# New Ticket Created by Steve Fink # Please include the string: [netlabs #570] # in the subject line of all future correspondence about this issue. # URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=570 This is a first in a series of patches implementing hashtables. This patch allows

[PATCH] sized resource pools

2002-05-14 Thread Steve Fink
This is a first in a series of patches implementing hashtables. This patch allows the creation of variable-sized Buffer subclasses via new_tracked_header(). It automatically creates a new Resource_Pool for each size requested. For fast access and easy implementation, the resource pools are kept

Re: [PATCH] fix genclass.pl

2002-05-14 Thread Melvin Smith
At 08:30 PM 5/14/2002 +0100, Leon Brocard wrote: Here is a terribly simple genclass.pl patch to make the generated classes actually compile. No, I don't know what to do about the bad comment, either. Applied. Kevin mailed the same one last week. -Melvin

[netlabs #571] [PATCH] UnionVal, convert KEY to linked list

2002-05-14 Thread via RT
# New Ticket Created by Steve Fink # Please include the string: [netlabs #571] # in the subject line of all future correspondence about this issue. # URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=571 This patch is independent of the previous one I sent out. Creates a new type

Re: [netlabs #571] [PATCH] UnionVal, convert KEY to linked list

2002-05-14 Thread Steve Fink
And here's the dummy classes/perlhash.pmc patch. Once again, this need not be applied if my upcoming hashtable patch is accepted instead. Index: classes/perlhash.pmc === RCS file: /home/perlcvs/parrot/classes/perlhash.pmc,v

Re: [netlabs #570] [PATCH] sized resource pools

2002-05-14 Thread Steve Fink
I don't know how easy it is to find this since it only went to the bugs address, so here's a repeat followup patch to the sized resource pool patch (I accidentally left this out): Index: memory.c === RCS file:

The tracker (was Re: [PATCH] sized resource pools)

2002-05-14 Thread Robert Spier
Steve Fink (via RT) writes: I don't know how easy it is to find this since it only went to the bugs address, so here's a repeat followup patch to the sized resource pool patch (I accidentally left this out): New bugs sent to the bugs address are forwarded to the list. Anything on the list with

[netlabs #574] [PATCH] Hashtables

2002-05-14 Thread via RT
# New Ticket Created by Steve Fink # Please include the string: [netlabs #574] # in the subject line of all future correspondence about this issue. # URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=574 Here's the ultimate point of that flurry of patches. This implements hashtables,

Re: The tracker (was Re: [PATCH] sized resource pools)

2002-05-14 Thread Steve Fink
On Tue, May 14, 2002 at 04:00:38PM -0700, Robert Spier wrote: New bugs sent to the bugs address are forwarded to the list. Anything on the list with a m/\[netlabs #\d+\]/ subject line is fed back to the bugtracker. Yep, that's what I eventually figured out through trial and error.

Re: The tracker (was Re: [PATCH] sized resource pools)

2002-05-14 Thread Robert Spier
Is there a 'Superseded' or 'Obsolete' state? It's nice to be able to tell the difference between a patch that was considered a bad idea or just succumbed to bit rot, and one that was replaced with an alternative implementation before making it in. There is now. :) -R

RE: [netlabs #572] [PATCH] random cleanups

2002-05-14 Thread Brent Dax
Steve Fink (via RT): # Index: classes/default.pmc # === # RCS file: /home/perlcvs/parrot/classes/default.pmc,v # retrieving revision 1.17 # diff -a -u -r1.17 default.pmc # --- classes/default.pmc 25 Apr 2002 21:35:16 -

RE: [netlabs #572] [PATCH] random cleanups

2002-05-14 Thread Brent Dax
Brent Dax: # Steve Fink (via RT): # # Index: classes/default.pmc # # === # # RCS file: /home/perlcvs/parrot/classes/default.pmc,v # # retrieving revision 1.17 # # diff -a -u -r1.17 default.pmc # # --- classes/default.pmc 25 Apr

Re: [netlabs #572] [PATCH] random cleanups

2002-05-14 Thread Steve Fink
Patch applied, with Brent Dax's fix. Also, I put back the morph() method, since Dan's recent patch to pdd02_vtable still has it.

Re: [PATCH] sized resource pools

2002-05-14 Thread Jeff
Steve Fink wrote: This is a first in a series of patches implementing hashtables. This patch allows the creation of variable-sized Buffer subclasses via new_tracked_header(). It automatically creates a new Resource_Pool for each size requested. For fast access and easy implementation, the

[netlabs #576] Re: [PATCH] sized resource pools

2002-05-14 Thread via RT
# New Ticket Created by Jeff # Please include the string: [netlabs #576] # in the subject line of all future correspondence about this issue. # URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=576 Steve Fink wrote: This is a first in a series of patches implementing hashtables.

Re: [netlabs #574] [PATCH] Hashtables

2002-05-14 Thread Jeff
Steve Fink (via RT) wrote: # New Ticket Created by Steve Fink # Please include the string: [netlabs #574] # in the subject line of all future correspondence about this issue. # URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=574 Here's the ultimate point of that flurry of

Regex timing and runtime options

2002-05-14 Thread Mark Kvale
Steve Fink recently made it easy to test parrot under various runtime options: -g - suppress use of computed goto -P - use prederef -j - use JIT compiler I was curious to see what effects these would have on regex timings for the various schemes I cooked up. As before, I am using the

RE: Regex timing and runtime options

2002-05-14 Thread Brent Dax
Mark Kvale: # Steve Fink recently made it easy to test parrot under various runtime # options: # #-g - suppress use of computed goto #-P - use prederef #-j - use JIT compiler # # I was curious to see what effects these would have on regex # timings for the various schemes I cooked

Re: cvs commit: parrot Configure.pl

2002-05-14 Thread Melvin Smith
The byte-order stuff really ought to clean up after itself. Eep, sorry. I'm gonna redo it in Perl anyway. :) -Melvin