http://gwt-code-reviews.appspot.com/1382801/diff/5008/dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
File dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
(right):

http://gwt-code-reviews.appspot.com/1382801/diff/5008/dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java#newcode104
dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java:104:
private static boolean isDefaultExcluded(String path) {
Is that with a pre-compiled regex?
On 2011/03/17 18:26:15, scheglov wrote:
Regex is slower.
When DefaultFiltersTest.testNonEmptyFilters() runs 10000 times, it
requires
27500ms with regex and 11000ms with simple string checks.

http://gwt-code-reviews.appspot.com/1382801/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to