[
https://issues.apache.org/jira/browse/AVRO-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Mollitor updated AVRO-2691:
---------------------------------
Description: It may all be optimized away by the compiler at the end of the
day, but it's just extra code that is not needed. Every since other instance
of {{toArray}} in the Avro project is passed an empty array (which is the
correct thing to do).
> Do Not Cache Empty Array in RecordBuilderBase
> ---------------------------------------------
>
> Key: AVRO-2691
> URL: https://issues.apache.org/jira/browse/AVRO-2691
> Project: Apache Avro
> Issue Type: Improvement
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Trivial
>
> It may all be optimized away by the compiler at the end of the day, but it's
> just extra code that is not needed. Every since other instance of
> {{toArray}} in the Avro project is passed an empty array (which is the
> correct thing to do).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)