Don't look up TFieldIdEnum values with a map
--------------------------------------------

                 Key: THRIFT-753
                 URL: https://issues.apache.org/jira/browse/THRIFT-753
             Project: Thrift
          Issue Type: Improvement
          Components: Compiler (Java)
    Affects Versions: 0.3
            Reporter: Bryan Duxbury
            Assignee: Bryan Duxbury
             Fix For: 0.3


Each struct's internal _Fields class currently generates and uses a HashMap to 
allow lookup of enum values by thrift field id. This can be a bit slow - it 
requires us to box an Integer, then hash it, then perform the lookup. We can 
probably get by with generating a case statement.

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