From 329b0e275f672bf6277d8957bd7aa57a95205cf3 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 12 Nov 2009 22:13:51 +0000 Subject: [PATCH] further optimization possible? task tag added --- .../src/org/aspectj/weaver/patterns/SignaturePattern.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/SignaturePattern.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/SignaturePattern.java index 8f1ec9430..00eea30e4 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/SignaturePattern.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/SignaturePattern.java @@ -465,6 +465,7 @@ public class SignaturePattern extends PatternNode { // System.err.println("Parameter types pattern " + parameterTypes + " pcount: " + aMethod.getParameterTypes().length); return FuzzyBoolean.NO; } + // OPTIMIZE only for exact match do the pattern match now? Otherwise defer it until other fast checks complete? if (!name.matches(aMethod.getName())) { return FuzzyBoolean.NO; } -- 2.39.5