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

Anoop Sam John commented on HBASE-8138:
---------------------------------------

Just gone through all the protos that we have. Only in this place there is a 
repeated numeric type field. 
+1 on patch
                
> Using [packed=true] for repeated field of primitive numeric types (types 
> which use the varint, 32-bit, or 64-bit wire types)
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8138
>                 URL: https://issues.apache.org/jira/browse/HBASE-8138
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>            Priority: Trivial
>             Fix For: 0.98.0
>
>         Attachments: hbase-8138.patch
>
>
> It's recommended to do the following for numeric primitive types
> {quote}
> For historical reasons, repeated fields of basic numeric types aren't encoded 
> as efficiently as they could be. New code should use the special option 
> [packed=true] to get a more efficient encoding
> {quote}
> See details at https://developers.google.com/protocol-buffers/docs/proto

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to