At 7:34 PM -0500 3/16/02, Melvin Smith wrote: >At 04:34 PM 3/16/2002 -0500, Dan Sugalski wrote: >>Now's your time to speak up, please. > >Well I was about to try to add simple regexes to my >little language before checking in the first version. > >I think one of the reasons noone is using them is noone >likes to compile regexes in their head. > >Are you considering doing something evil with them?
I'm considering removing them entirely. Potentially replacing them with something else, but probably just removing them and beefing up the generic set of opcodes a little. "Normal" regexes, like /fo+ba?r/ don't see any speed advantage with the current set and, with the JIT enabled, are slower than doing it with 'normal' opcodes. Perl 5's regex engine still kicks our butts rather handily, which is darned annoying, but I'm not sure a custom set of regex opcodes to the extent we have now is the right solution. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk