Re:Copying data is wasteful, mutating data is dangerous
by vnorilo on Thursday January 09, 2020 @01:58PM
(#22004260)
Reminds me of copy-on-write. Operation can reuse input buffer if it holds the sole reference to it. In the scenario you described, you manually ensure and write this behavior for the rest of the pipeline.
[ Parent
| on HN ]
There are no comments on this comment yet.