You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (Created) (JIRA)" <ji...@apache.org> on 2012/03/17 05:22:19 UTC

[jira] [Created] (CASSANDRA-4059) no need to fill a newly created array with 0s

no need to fill a newly created array with 0s
---------------------------------------------

                 Key: CASSANDRA-4059
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4059
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Dave Brosius
            Priority: Trivial


code allocates an array and Arrays.fill's it with zeros. This is the default behavior of new, so just wasted time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-4059) no need to fill a newly created array with 0s

Posted by "Dave Brosius (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius updated CASSANDRA-4059:
------------------------------------

    Attachment: no_fill.diff

against trunk
                
> no need to fill a newly created array with 0s
> ---------------------------------------------
>
>                 Key: CASSANDRA-4059
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4059
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: no_fill.diff
>
>
> code allocates an array and Arrays.fill's it with zeros. This is the default behavior of new, so just wasted time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira