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

Kay Kay commented on HBASE-2209:
--------------------------------

This is kind of cheating in the sense, while deserializing - all List<T> always 
comes down an ArrayList<T> . 

As mentioned offline in the IRC by dj_ryan , avro as a generic solution for RPC 
would address a lot of this. But until that happens - here is the patch. 



> Support of List [ ] in HBaseOutputWritable for serialization 
> -------------------------------------------------------------
>
>                 Key: HBASE-2209
>                 URL: https://issues.apache.org/jira/browse/HBASE-2209
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Kay Kay
>             Fix For: 0.21.0
>
>         Attachments: HBASE-2209.patch, HBASE-2209.patch
>
>
> On a higher language semantics , List < > are very useful for manipulation 
> and when finally sent down to the wire - the protocol currently seems to take 
> only [ ]  through an expensive copy. 
> Supporting List <T > directly would save us the copy in terms of memory and 
> add to faster / deserialization. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to