discomarathon / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

Cache no-args constructors #299

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In MappedObjectConstructor.getNoArgsConstructor(), use a cache of constructors 
to avoid reflection every single time an instance is constructed.

Original issue reported on code.google.com by inder123 on 21 Mar 2011 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by joel.leitch@gmail.com on 4 Apr 2011 at 9:34