Andrew Gaul created THRIFT-2238: ----------------------------------- Summary: Add option to store binary data as byte[] instead of ByteBuffer Key: THRIFT-2238 URL: https://issues.apache.org/jira/browse/THRIFT-2238 Project: Thrift Issue Type: Improvement Components: Java - Compiler Affects Versions: 0.9.1 Reporter: Andrew Gaul
My Java application stores many Thrift structs in-memory with small binary fields. I would like an option for the generator to use byte[] internally instead of ByteBuffer, saving the 48 bytes per struct. I have a patch in-hand to address this although it conflicts with THRIFT-2233. Will attach it after it goes in and I rebase the change. -- This message was sent by Atlassian JIRA (v6.1#6144)