Open GoogleCodeExporter opened 9 years ago
This is not an optimization we should do naively.
Our serialization standins (ie. ParameterizedTypeImpl, etc.) may do fewer
object allocations than the standard
Type implementations in the JDK. Since the Type interface is array-centric,
there's a lot of array cloning in
methods like getActualTypeArguments(). By using our own implementations, we can
avoid array clones by
accessing the data directly (for example, in our isFullySpecified() method).
Original comment by limpbizkit
on 31 Dec 2008 at 12:16
[deleted comment]
Original comment by cgruber@google.com
on 18 Nov 2013 at 8:12
Original issue reported on code.google.com by
crazybob...@gmail.com
on 7 Aug 2008 at 12:48