You should benchmark this yourself to find out.

Side note, why not Guice 4.0?

On Monday, 10 August 2015 14:27:23 UTC-4, Artem Nakonechny wrote:
>
> I use Guice 3.0.
>
> On Monday, August 10, 2015 at 9:24:45 PM UTC+3, Artem Nakonechny wrote:
>>
>> Hello.
>> It there any significant performance overhead if I use Matchers.any() vs 
>> Matchers.subclassesOf() in binder.bindInterceptor() ?
>> I have a small percentage of classes I'd like to apply my interceptor to. 
>> I do not very much like introducing a marker interface to use 
>> subclassesOf(). So if the overhead is negligible - I'd opt for any().
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/dd8266f2-1d7f-483f-abb8-745eb81a1079%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to