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

   Move structural container mutation onto the same exception-free contract as 
structural visiting: child failures remain explicit `Expected` values, while 
allocation and invariant failures stay fatal.
   
   - share prefix range initialization between Array and List
   - avoid throwing dispatch casts and repeated bounds checks after invariants 
are established
   - cover raised and returned callback errors across Array, List, Map, and Dict
   
   Validation: 477 enabled C++ tests pass in Debug. On a pinned Neoverse-V2 
core with GCC 13.3.0 at `-O3 -DNDEBUG`, changed-container mutation measures 
11.228 ns/element for Array and 15.516 ns/element for Map.


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