[MacRuby-devel] Regular expression related performance

Laurent Sansonetti lsansonetti at apple.com
Wed Dec 1 14:15:53 PST 2010


Hi,

On Dec 1, 2010, at 12:59 PM, Perry E. Metzger wrote:

> On Thu, 2 Dec 2010 02:46:07 +0900 Yasu Imao <yimao.ml at gmail.com>
> wrote:
>> Hello,
>> 
>> I'm rewriting an app for text analysis in MacRuby, which I
>> originally wrote in RubyCocoa.  But I encountered a serious
>> performance issue in MacRuby, which is related to processing text
>> using regular expressions.
> 
> Is MacRuby using a derivative of the old Henry Spencer regexp library
> or is it using something more modern? For an explanation of why this
> is critical, see:
> 
> http://swtch.com/~rsc/regexp/regexp1.html

MacRuby is using ICU. I'm not aware of ICU's internals, but I suspect the performance issue is probably elsewhere here, given the huge difference against 1.8.

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20101201/e585183f/attachment.html>


More information about the MacRuby-devel mailing list