Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | THRIFT-1469. java: Java isset space optimization | Bryan Duxbury | 2011-12-21 | 1 | -0/+231 |
This patch gives the generated code some variable-sized options for the isset bit vector. The compiler will attempt to use byte, short, int and long types before reverting to a BitSet for structs with a LOT of optional fields. This should save a fair amount of memory in a lot of cases. Patch: Brian Bloniarz git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1221828 13f79535-47bb-0310-9956-ffa450edef68 |