Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.3
-
None
Description
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.