je-ik commented on pull request #13240:
URL: https://github.com/apache/beam/pull/13240#issuecomment-722338502


   If we have reasons to believe, that reusing the `objectReuse` could result 
in breaking existing pipelines (which I think is low probability, but is 
admittedly non-zero), I'd suggest the following:
    - deprecate `objectReuse`
    - introduce `usingImmutableTypes` (or similar), which would have the 
meaning of both `objectReuse` and `fasterCopy`
    - remove `fasterCopy` and use only `usingImmutableTypes` in place of it
   Using of `objectReuse` would result in deprecation warning, suggesting to 
validate pipeline against DirectRunner with immutability enforced and then to 
enable `usingImmutableTypes`. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to