[ruby/yarp] Only keep semantic fields in Java, i.e. skip location fields
Add $YARP_SERIALIZE_ONLY_SEMANTICS_FIELDS to control where to serialize location fields at templating time,
this way there is no overhead for either case and nothing to check at runtime.
Add a byte in the header to indicate whether location fields are included as expected.
[ruby/yarp] Only keep semantic fields in Java, i.e. skip location fields
this way there is no overhead for either case and nothing to check at runtime.
https://github.com/ruby/yarp/commit/fc5cf2df12