[
https://issues.apache.org/jira/browse/AVRO-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191894#comment-13191894
]
Harsh J commented on AVRO-989:
------------------------------
I ran tests locally on OSX, and all java tests passed with {{build.sh clean
test}}.
{noformat}
[INFO] Apache Avro Java .................................. SUCCESS [8.367s]
[INFO] Apache Avro ....................................... SUCCESS [1:14.250s]
[INFO] Apache Avro Compiler .............................. SUCCESS [7.478s]
[INFO] Apache Avro Maven Plugin .......................... SUCCESS [4.702s]
[INFO] Apache Avro IPC ................................... SUCCESS [2:42.863s]
[INFO] Apache Avro Mapred API ............................ SUCCESS [1:43.056s]
[INFO] Apache Avro Tools ................................. SUCCESS [19.334s]
[INFO] Apache Avro Protobuf Compatibility ................ SUCCESS [3.816s]
[INFO] Apache Avro Thrift Compatibility .................. SUCCESS [4.255s]
[INFO] Apache Avro Maven Archetypes ...................... SUCCESS [3.289s]
[INFO] Apache Avro Maven Service Archetype ............... SUCCESS [0.890s]
{noformat}
> Java: Improve Builder performance in Specific API
> --------------------------------------------------
>
> Key: AVRO-989
> URL: https://issues.apache.org/jira/browse/AVRO-989
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Scott Carey
> Attachments: AVRO-989-v2.patch, AVRO-989.patch
>
>
> The Specific API generates Builder objects for each record. This builder
> uses a boolean[] to store flags for each field to indicate whether the field
> is set or not.
> This is not space efficient, a boolean[] takes 16 bytes plus one byte per
> field, rounded up to the nearest 8 byte interval.
> This can be improved on by using BitSet for large records, and bitmasks on an
> int for records with less than 32 fields.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira