You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2017/06/29 14:47:00 UTC

[jira] [Commented] (HBASE-18286) Create static empty byte array to save memory

    [ https://issues.apache.org/jira/browse/HBASE-18286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16068429#comment-16068429 ] 

Mike Drob commented on HBASE-18286:
-----------------------------------

Thanks for the patch, Ben!

In the future, can you make sure to include the issue number in the commit message? So it would be {{HBASE-18286 created a static...}} in this example. It makes it easier on the folks who commit the patch later!

Also, we try to use Yetus naming conventions for patches that we attach. See http://hbase.apache.org/book.html#developing and scroll down a bit to the section on submitting patches.

+1 pending QA

> Create static empty byte array to save memory
> ---------------------------------------------
>
>                 Key: HBASE-18286
>                 URL: https://issues.apache.org/jira/browse/HBASE-18286
>             Project: HBase
>          Issue Type: Improvement
>          Components: community
>            Reporter: Ben Epstein
>            Assignee: Ben Epstein
>            Priority: Trivial
>         Attachments: 0001-created-a-static-zero-byte-array-to-save-memory.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> In Put.java, create a static empty byte array so new ones do not have to be allocated every time it is passed into a function



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)