You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/17 16:12:00 UTC
[jira] [Commented] (AVRO-2691) Do Not Cache Empty Array in
RecordBuilderBase
[ https://issues.apache.org/jira/browse/AVRO-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038478#comment-17038478 ]
ASF subversion and git services commented on AVRO-2691:
-------------------------------------------------------
Commit a65dca9bc4981b7788b51d3297323136e4f664ae in avro's branch refs/heads/master from belugabehr
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=a65dca9 ]
AVRO-2691: Do Not Cache Empty Array in RecordBuilderBase (#771)
> 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)