tlopex opened a new pull request, #806: URL: https://github.com/apache/tvm-ffi/pull/806
This PR generates mutation ABI entrypoints for each concrete Rust driver, removing an extra function-pointer call before callback dispatch. It also inlines the ABI result conversion and keeps error construction out of the hot path. In local x86-64 benchmarks over a 4096-element array without a context policy, mutation takes about 31% less time, and mutation returning `Unchanged` takes about 38% less time. Closure callbacks show similar gains. A nested index-expression simplification workload takes about 4.7% less time with mutation. Results vary by workload: an unchanged reflected-tree closure case is about 6.8% slower in a focused recheck and remains under investigation. -- 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]
