Compiler optimizations with generics
Is the implementation of A and B semantically equivalent or is there some Boxing/Unboxing/polymorphism going on with the Implementation of B? Meaning that A would be more efficient Because of static compiler optimizations with generics?
1 Reply
Okay, im just calling Foo/Bar from the implemented classes. I'm doing a factory with a interface as base so, should be fine. Thanks!