[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Regexp] gnu-regexp 1.1.4 very slow compared to 1.0.8
From: |
Christian Mallwitz |
Subject: |
[Regexp] gnu-regexp 1.1.4 very slow compared to 1.0.8 |
Date: |
Tue, 22 Apr 2003 02:12:40 +0200 |
Hi,
I tried to work out whether to update the gnu-regexp version in Muffin
(muffin.doit.org). I'm not quite sure what version currently comes with
Muffin but it looks like 1.0.8. Now I have a test case extracted simulating
common regexp operations to do some time measurements.
Just by switching my classpath to the 1.1.4 version makes it run 10 times
slower. Some profiling reveals that all the time is lost in
gnu.regexp.RETokenOneOf.match(). in version 1.1.4 it is calling
gnu.regexp.REMatch.clone() like hell which it doesn't in the older version
...
Who can shed some light on this?
Thanks
Christian
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Regexp] gnu-regexp 1.1.4 very slow compared to 1.0.8,
Christian Mallwitz <=