On 07/27/2010 03:15 PM, Sharad Agarwal wrote:
Is there a reason for SpecificCompiler to use GenericArray rather than
java's native array or list ?

GenericArray is designed to support object reuse, while native arrays and List make reuse difficult. Probably GenericArray should be made to implement List, and perhaps the reader/writer code could be reworked to reuse objects when a GenericArray is used and not to when any other List is used.

Doug

Reply via email to