The GitHub Actions job "CI" on tvm-ffi.git/main has succeeded.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
c7a8cead2523c8a26bdd99f3a2aa8db7ca98919e / Shushi Hong <[email protected]>
[RUST] Add borrowed object node cast (#734)

This PR adds ObjectRefCore::as_node<N>() for zero-copy borrowed
object-node casts.

Checks such as is_zero currently clone an owning object handle before
calling try_cast. This performs an atomic reference-count increment and
decrement even though the caller only needs to inspect the node
temporarily.

The new API checks the runtime type directly from the existing object
header and returns a reference tied to the source handle. It does not
clone the handle, construct an owning cast result, or update the
reference count. Final node types, such as IntImmObj, use a fast exact
type-index comparison.

Report URL: https://github.com/apache/tvm-ffi/actions/runs/33801275106

With regards,
GitHub Actions via GitBox


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

Reply via email to