You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2012/08/08 22:30:20 UTC

[jira] [Commented] (PIG-2862) Hardcode certain tuple lengths into the TUPLE BinInterSedes byte identifier

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

Dmitriy V. Ryaboy commented on PIG-2862:
----------------------------------------

That looks ok.. how did you test, where do the savings come from, and how much savings?
                
> Hardcode certain tuple lengths into the TUPLE BinInterSedes byte identifier
> ---------------------------------------------------------------------------
>
>                 Key: PIG-2862
>                 URL: https://issues.apache.org/jira/browse/PIG-2862
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Jonathan Coveney
>            Assignee: Jonathan Coveney
>         Attachments: PIG-2862-0.patch
>
>
> Right now, there is TUPLE, SMALLTUPLE, and TINYTUPLE to try and save space when writing out Tuples. There is no reason, however, that this can't be hardcoded for common tuple sizes (<10) to further save space. A quick fix that has positive benefits.

--
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