Try to use cglibs FastClass to invoke @Provides methods, it's faster!

Here is a caliper benchmark to demonstrate the difference.,scenario.benchmarkSpec.parameters.strategy

This should save about 200-300 ns per method invocation and about 224 bytes (over 4 objects) of allocations for each invocation.

The cost of this (of course) is greater permgen usage and potentially slower startup/injector creation due to the class generation.
Created by MOE:
3 files changed