akaashrp opened a new pull request, #519: URL: https://github.com/apache/tvm-ffi/pull/519
This PR intends to avoid the eager lookup of `ffi.GetKwargsObject` during `MakeInit` construction. Instead, it resolves and caches the KWARGS sentinel via a function-local static (`GetKwargsSentinel`) when `__ffi_init__` is invoked. This removes static-init order dependence between reflection auto-init registration and global function registration, preventing `Function ffi.GetKwargsObject not found` failures. -- 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]
