jsalvata 2003/11/23 18:03:19
Modified: src/protocol/http/org/apache/jmeter/protocol/http/sampler
ParseRegexp.java
Log:
Add comment on ORO-vs-java.util.regex for posterity.
Revision Changes Path
1.2 +3 -2
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/ParseRegexp.java
Index: ParseRegexp.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/ParseRegexp.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ParseRegexp.java 24 Nov 2003 00:56:51 -0000 1.1
+++ ParseRegexp.java 24 Nov 2003 02:03:19 -0000 1.2
@@ -72,7 +72,8 @@
import org.apache.jorphan.logging.LoggingManager;
import org.apache.log.Logger;
-// TODO: look at using Java 1.4 regexp instead of ORO.
+// NOTE: Also looked at using Java 1.4 regexp instead of ORO. The change was
+// trivial. Performance did not improve -- at least not significantly. [Jordi]
import org.apache.oro.text.regex.MatchResult;
import org.apache.oro.text.regex.Pattern;
import org.apache.oro.text.regex.PatternMatcherInput;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]