tqchen opened a new pull request, #786:
URL: https://github.com/apache/tvm-ffi/pull/786

   Consolidate structural mutation into `MutateExpected(AnyView, bool)` and 
`DefaultMutateExpected(AnyView, bool)`, with a matching throwing `Mutate` 
entrypoint. All three default to copy-on-write. In-place dispatch requires 
permission along the ownership path and a unique current value; default descent 
trusts the callback's validated permission without rechecking uniqueness. 
Remove superseded entrypoints and migrate callers while preserving hook 
dispatch, ABI layout, and copy-on-write behavior.
   
   Add `ValueOrUnchanged(const T&) &&` to copy a borrowed fallback only when 
unchanged and move replacements otherwise.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to