You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2014/03/16 15:06:42 UTC

[jira] [Commented] (THRIFT-2404) emit warning on (typically inefficient) list

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

Roger Meier commented on THRIFT-2404:
-------------------------------------

+1

> emit warning on (typically inefficient) list<byte>
> --------------------------------------------------
>
>                 Key: THRIFT-2404
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2404
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (General)
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Trivial
>              Labels: perfomance
>             Fix For: 0.9.2
>
>         Attachments: THRIFT-2404_warning_on_list_byte.patch
>
>
> As long as there is no special treatment of {{list<byte>}} implemented, it is a common beginner's trap to choose {{list<byte>}} where really {{binary}} would be the better choice. 
> Thus, the compiler should emit an adequate warning when {{list<byte>}} is found in the IDL.



--
This message was sent by Atlassian JIRA
(v6.2#6252)