Generated classes take up more space in jar than needed
-------------------------------------------------------

                 Key: THRIFT-701
                 URL: https://issues.apache.org/jira/browse/THRIFT-701
             Project: Thrift
          Issue Type: Improvement
    Affects Versions: 0.2
            Reporter: Bryan Duxbury
            Assignee: Bryan Duxbury
             Fix For: 0.3


In glancing at one of our jars of generated Thrift class files, I noticed that 
it was pretty huge. Further digging showed that while certainly most of the 
bulk was attributable to the number of class files we have, part of it was due 
to lots of unnecessary internal classes. This is because we use a specific 
syntax for defining some maps inline in structs and enums. 

Since this is only syntactic sugar, I think it would make sense to write a tiny 
bit of helper code and avoid the need for a dynamic internal class.

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