You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/03/14 23:52:46 UTC

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

     [ https://issues.apache.org/jira/browse/THRIFT-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-2404:
-------------------------------

    Attachment: THRIFT-2404_warning_on_list_byte.patch

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