Description
Java's ArrayList implementation clears all Objects from the internal buffer when the clear() method is called. This allows the Objects to be free for GC. We should do the same in Avro org.apache.avro.generic.GenericData
Java's ArrayList implementation clears all Objects from the internal buffer when the clear() method is called. This allows the Objects to be free for GC. We should do the same in Avro org.apache.avro.generic.GenericData