byteArrayOperationsForStructuredRecords

The byteArrayOperationsForStructuredRecords build descriptor option specifies how generated Java code handles fields in structured records. A performance benefit is available in the following case:

If a Record part was generated with a particular value for the byteArrayOperationsForStructuredRecords build descriptor option, every part that uses that Record part must be generated with the same value. For ease of maintenance, consider using the same option value when you generate any part in your application.

Values

0 (the default)
Generation does not use the performance benefit. This setting is in effect for any code that was generated with a language version that preceded 8.0.1.3.
1
Generation uses the performance benefit. In this case, record fields that are of the types specified earlier are not instantiated as Java objects. Instead, operations on the fields of a given record are handled directly as operations on a byte array.

Feedback