[Schmitzm-commits] r2167 - trunk/schmitzm-core/src/main/java/de/schmitzm/regex

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Sun Dec 9 03:57:44 CET 2012


Author: alfonx
Date: 2012-12-09 03:57:44 +0100 (Sun, 09 Dec 2012)
New Revision: 2167

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java
Log:


Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java	2012-12-08 23:40:57 UTC (rev 2166)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java	2012-12-09 02:57:44 UTC (rev 2167)
@@ -127,8 +127,8 @@
 		// ein schnellere Stringsuche verwendet.
 		boolean canSpeedup = true;
 		boolean speedUpIgnorecase = true;
-
-		if (regex.length() > 32)
+		
+		if (regex.length() > 20)
 			canSpeedup = false;
 		else {
 			String copy = regex;



More information about the Schmitzm-commits mailing list