[plt-scheme] performance of pregexp

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Sun Mar 19 11:43:50 EST 2006

I just read the string extensions in string.ss of mzlib.
Maybe I'm wrong here. I am missing functionality
like e.g. 'split' from the standard regular expressions
of mzscheme. But maybe string.ss provides these?

--Hans

Matthew Flatt schreef:
> At Sun, 19 Mar 2006 11:55:28 +0100, Hans Oesterholt-Dijkema wrote:
>   
>> Dear All,
>>
>> It looks to me that, compared to perl, the pregexp library
>> of mzscheme is very slow.
>>
>> - Am I right about this?
>>     
>
> Yes. 
>
>   
>> - If yes, would it not be an idea to bind PCRE to mzscheme?
>>     
>
> That seems like a fine idea to me.
>
> I think there's much less difference between Perl and the `regexp'
> functions that are built into MzScheme (as opposed to the "pregexp.ss"
> library). So that's why there hasn't been a lot of pressure to bind to
> PCRE, even though MzScheme's `regexp' less powerful than PCRE.
>
> Matthew
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
>   



Posted on the users mailing list.