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

   This PR adds a leaf-only lookup-table fast path to Rust match_any! for 
larger matches. For four or more unguarded exact-leaf arms, it maps each 
runtime TypeIndex to a call-site-local ArmId (0, 1, 2, …) and dispatches 
through a native Rust match. Duplicate types preserve source order, unmatched 
values use the fallback, and small, guarded, non-leaf, or parameterized matches 
continue using the Phase 1 ordered path. The PR also adds final-type metadata 
and focused tests for lookup dispatch, fallback behavior, and parameterized 
containers.


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