[plt-scheme] xxx chooses MzScheme as preferred language

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Thu Jun 1 08:39:47 EDT 2006

Matthias Felleisen wrote:
> 
> On May 31, 2006, at 10:21 PM, Edmund Dengler wrote:
> 
>> - overall slowness compared to languages such as Perl when regular
>>   expressions are used (I had one task which executed about an order of
>>   magnitude faster and consumed a lot less memory when I recoded it as a
>>   series of transformations based on converting the string to a list,
>>   running a transformer, and converting it back into a string, in
>>   contrast to using pregexp)
> 
> 
> Small question: did you try the same task with plain regexp (the 
> built-in pattern matcher using the Perl algorithms)?

Edmund, note the builin regexp mechanism also works directly
on input ports. This will give a little extra speed.

An example can be seen at

<http://www.scheme.dk/blog/2006/04/tokenizing-scheme-source.html>

-- 
Jens Axel Søgaard





Posted on the users mailing list.