Comment #1 on issue 229 by limpbizkit: Abstract away serialization standins
http://code.google.com/p/google-guice/issues/detail?id=229

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).

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to